Switch to PredictorModel from string
This commit is contained in:
@ -3,6 +3,7 @@ using Phares.Shared;
|
||||
using View_by_Distance.Not.Copy.Copy.Models;
|
||||
using View_by_Distance.Property.Models;
|
||||
using View_by_Distance.Shared.Models.Methods;
|
||||
using View_by_Distance.Shared.Models.Stateless;
|
||||
|
||||
namespace View_by_Distance.Not.Copy.Copy;
|
||||
|
||||
@ -38,8 +39,8 @@ public class NotCopyCopy
|
||||
Models.Configuration configuration = Models.Stateless.Configuration.Get(isEnvironment, configurationRoot, workingDirectory, propertyConfiguration);
|
||||
Verify(configuration);
|
||||
bool reverse = false;
|
||||
string modelName = nameof(modelName);
|
||||
string predictorModelName = nameof(predictorModelName);
|
||||
Model model = Model.Hog;
|
||||
PredictorModel predictorModel = PredictorModel.Large;
|
||||
_Configuration = configuration;
|
||||
if (propertyConfiguration.PopulatePropertyId is null)
|
||||
throw new Exception($"{nameof(propertyConfiguration.PopulatePropertyId)} is null!");
|
||||
@ -47,9 +48,9 @@ public class NotCopyCopy
|
||||
throw new Exception("This program only allows development environments!");
|
||||
PropertyLogic propertyLogic = GetPropertyLogic();
|
||||
propertyConfiguration.ChangeRootDirectory(configuration.CompareSource);
|
||||
List<PropertyHolder[]> comparePropertyHolderCollections = Property.Models.Stateless.A_Property.Get(propertyConfiguration, reverse, modelName, predictorModelName, propertyLogic);
|
||||
List<PropertyHolder[]> comparePropertyHolderCollections = Property.Models.Stateless.A_Property.Get(propertyConfiguration, reverse, model, predictorModel, propertyLogic);
|
||||
propertyConfiguration.ChangeRootDirectory(configuration.SelectedSource);
|
||||
List<PropertyHolder[]> selectedPropertyHolderCollections = Property.Models.Stateless.A_Property.Get(propertyConfiguration, reverse, modelName, predictorModelName, propertyLogic);
|
||||
List<PropertyHolder[]> selectedPropertyHolderCollections = Property.Models.Stateless.A_Property.Get(propertyConfiguration, reverse, model, predictorModel, propertyLogic);
|
||||
if (comparePropertyHolderCollections.Count == selectedPropertyHolderCollections.Count)
|
||||
throw new Exception();
|
||||
string directoryName;
|
||||
|
Reference in New Issue
Block a user