Deleted Method Get
This commit is contained in:
@ -162,7 +162,17 @@ public class Compare
|
||||
}
|
||||
if (_IsEnvironment.Development && propertyConfiguration.PopulatePropertyId)
|
||||
throw new Exception("Copy keyValuePairs-####.json file");
|
||||
(int j, int f, int t, Shared.Models.Container[] containers) = A_Property.Get(propertyConfiguration, propertyLogic);
|
||||
(int j, int f, int t, Shared.Models.Container[] containers) = Property.Models.Stateless.Container.GetContainers(propertyConfiguration, propertyLogic);
|
||||
if (propertyLogic.ExceptionsDirectories.Any())
|
||||
throw new Exception();
|
||||
if (propertyConfiguration.PopulatePropertyId && Shared.Models.Stateless.Methods.IProperty.Any(containers))
|
||||
{
|
||||
propertyLogic.SavePropertyParallelWork(ticks, containers);
|
||||
if (appSettings.MaxDegreeOfParallelism < 2)
|
||||
ticks = LogDelta(ticks, nameof(A_Property.SavePropertyParallelWork));
|
||||
if (propertyLogic.ExceptionsDirectories.Any())
|
||||
throw new Exception();
|
||||
}
|
||||
if (!isSilent)
|
||||
{
|
||||
_Log.Information("First pass completed");
|
||||
@ -762,7 +772,7 @@ public class Compare
|
||||
List<string> distinctDirectories = new();
|
||||
List<KeyValuePair<int, int[]>> valueCollection = new();
|
||||
List<Property.Models.DirectoryInfo> directoryInfoCollection = new();
|
||||
propertyLogic.ParallelWork(ticks, containers, firstPass: false);
|
||||
propertyLogic.SavePropertyParallelWork(ticks, containers);
|
||||
if (propertyLogic.ExceptionsDirectories.Any())
|
||||
throw new Exception();
|
||||
foreach (Property.Models.DirectoryInfo group in directoryInfoCollection)
|
||||
@ -834,7 +844,7 @@ public class Compare
|
||||
List<KeyValuePair<int, int[]>> valueCollection = new();
|
||||
(long Ticks, string FilteredSourceDirectoryFile, string PropertyDirectory, int PropertyId)[] collection;
|
||||
List<Property.Models.DirectoryInfo> directoryInfoCollection = new();
|
||||
propertyLogic.ParallelWork(ticks, containers, firstPass: false);
|
||||
propertyLogic.SavePropertyParallelWork(ticks, containers);
|
||||
if (propertyLogic.ExceptionsDirectories.Any())
|
||||
throw new Exception();
|
||||
foreach (Property.Models.DirectoryInfo group in directoryInfoCollection)
|
||||
|
Reference in New Issue
Block a user