Removed IsIgnoreRelativePath
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user