This commit is contained in:
2023-01-17 18:18:11 -07:00
parent c5986b5cba
commit 9dd218a5f2
6 changed files with 69 additions and 28 deletions

View File

@ -9,6 +9,7 @@ public class AppSettings
#nullable disable
public string Company { get; set; }
public string CopyTo { get; set; }
public string ComparePathsFile { get; set; }
public int? MaxDegreeOfParallelism { get; set; }
public string WorkingDirectoryName { get; set; }
@ -28,6 +29,7 @@ public class AppSettings
throw new NullReferenceException(nameof(appSettings.MaxDegreeOfParallelism));
result = new(
appSettings.Company,
appSettings.CopyTo,
appSettings.ComparePathsFile,
appSettings.MaxDegreeOfParallelism.Value,
appSettings.WorkingDirectoryName