/// <summary> /// Initializes a new instance of the <see cref="ManifestParser"/> class. /// </summary> private ManifestParser(AppCaches appCaches, ManifestValueValidatorCollection validators, ManifestFilterCollection filters, string path, ILogger logger) { if (appCaches == null) { throw new ArgumentNullException(nameof(appCaches)); } _cache = appCaches.RuntimeCache; _validators = validators ?? throw new ArgumentNullException(nameof(validators)); _filters = filters ?? throw new ArgumentNullException(nameof(filters)); if (string.IsNullOrWhiteSpace(path)) { throw new ArgumentNullOrEmptyException(nameof(path)); } Path = path; _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
/// <summary> /// Initializes a new instance of the <see cref="ManifestParser"/> class. /// </summary> public ManifestParser(AppCaches appCaches, ManifestValueValidatorCollection validators, ManifestFilterCollection filters, ILogger logger) : this(appCaches, validators, filters, "~/App_Plugins", logger) { }