HelperCamstarOracle

This commit is contained in:
2024-10-22 09:48:28 -07:00
parent 5cd2500983
commit 84d1b07301
14 changed files with 622 additions and 48 deletions

View File

@ -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,