Removed IsIgnoreRelativePath

This commit is contained in:
2023-08-08 19:02:27 -07:00
parent 7a429de157
commit ed01d4996b
22 changed files with 70 additions and 187 deletions

View File

@ -10,7 +10,6 @@ public class AppSettings
public string Company { get; set; }
public bool? IndexOnly { get; set; }
public string[] IgnoreRelativePaths { get; set; }
public int? MaxDegreeOfParallelism { get; set; }
public string OutputExtension { get; set; }
public bool? SortContainers { get; set; }
@ -30,8 +29,6 @@ public class AppSettings
Models.AppSettings result;
if (appSettings?.IndexOnly is null)
throw new NullReferenceException(nameof(appSettings.IndexOnly));
if (appSettings?.IgnoreRelativePaths is null)
throw new NullReferenceException(nameof(appSettings.IgnoreRelativePaths));
if (appSettings?.MaxDegreeOfParallelism is null)
throw new NullReferenceException(nameof(appSettings.MaxDegreeOfParallelism));
if (appSettings?.SortContainers is null)
@ -41,7 +38,6 @@ public class AppSettings
result = new(
appSettings.Company,
appSettings.IndexOnly.Value,
appSettings.IgnoreRelativePaths,
appSettings.MaxDegreeOfParallelism.Value,
appSettings.OutputExtension,
appSettings.SortContainers.Value,