Mass push
This commit is contained in:
@ -12,17 +12,15 @@ public class Configuration
|
||||
public bool ByCreateDateShortcut { init; get; }
|
||||
public bool ByDay { init; get; }
|
||||
public bool ByHash { init; get; }
|
||||
public bool ByNone { init; get; }
|
||||
public bool BySeason { init; get; }
|
||||
public bool ByWeek { init; get; }
|
||||
public bool KeepFullPath { init; get; }
|
||||
|
||||
[JsonConstructor]
|
||||
public Configuration(Property.Models.Configuration propertyConfiguration, bool byCreateDateShortcut, bool byDay, bool byHash, bool byNone, bool bySeason, bool byWeek, bool keepFullPath)
|
||||
public Configuration(Property.Models.Configuration propertyConfiguration, bool byCreateDateShortcut, bool byDay, bool byHash, bool bySeason, bool byWeek, bool keepFullPath)
|
||||
{
|
||||
ByDay = byDay;
|
||||
ByHash = byHash;
|
||||
ByNone = byNone;
|
||||
ByWeek = byWeek;
|
||||
BySeason = bySeason;
|
||||
KeepFullPath = keepFullPath;
|
||||
@ -36,10 +34,10 @@ public class Configuration
|
||||
return result;
|
||||
}
|
||||
|
||||
public void SetAndUpdate(Property.Models.Configuration configuration, int? numberOfJitters, int? numberOfTimesToUpsample, string? modelName, string? predictorModelName)
|
||||
public void SetAndUpdate(Property.Models.Configuration configuration)
|
||||
{
|
||||
_PropertyConfiguration = configuration;
|
||||
_PropertyConfiguration.Update(numberOfJitters, numberOfTimesToUpsample, modelName, predictorModelName);
|
||||
_PropertyConfiguration.Update();
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user