HelperCamstarOracle
This commit is contained in:
@ -44,6 +44,7 @@ public class AppSettings
|
||||
}
|
||||
|
||||
private static Models.AppSettings Get(AppSettings? appSettings,
|
||||
CamstarOracleConfiguration camstarOracleConfiguration,
|
||||
CompassConfiguration compassConfiguration,
|
||||
DriveConfiguration driveConfiguration,
|
||||
EAFLogConfiguration eafLogConfiguration,
|
||||
@ -66,7 +67,8 @@ public class AppSettings
|
||||
if (appSettings.MillisecondsDelay is null) throw new NullReferenceException(nameof(MillisecondsDelay));
|
||||
if (appSettings.WatchDirectory is null) throw new NullReferenceException(nameof(WatchDirectory));
|
||||
Verify(appSettings);
|
||||
result = new(compassConfiguration,
|
||||
result = new(camstarOracleConfiguration,
|
||||
compassConfiguration,
|
||||
driveConfiguration,
|
||||
eafLogConfiguration,
|
||||
edaDatabaseConfiguration,
|
||||
@ -112,6 +114,7 @@ public class AppSettings
|
||||
results = (string.IsNullOrEmpty(json) ? null : results = JsonSerializer.Deserialize(json, AppSettingsSourceGenerationContext.Default.AppSettings)) ??
|
||||
throw new NullReferenceException(nameof(Models.AppSettings));
|
||||
results = Get(appSettings,
|
||||
results.CamstarOracleConfiguration,
|
||||
results.CompassConfiguration,
|
||||
results.DriveConfiguration,
|
||||
results.EAFLogConfiguration,
|
||||
|
Reference in New Issue
Block a user