public static void Verify(this DataLakeNamespaceOption subject) { subject.VerifyNotNull(nameof(subject)); subject.Namespaces.VerifyNotNull(nameof(subject.Namespaces)); subject.Namespaces.Values.ForEach(x => x.Verify()); }
public DataLakeStoreFactory(DataLakeNamespaceOption dataLakeNamespaceOption, ILoggerFactory loggerFactory) : this(loggerFactory) { dataLakeNamespaceOption.VerifyNotNull(nameof(dataLakeNamespaceOption)); Add(dataLakeNamespaceOption.Namespaces.Values.ToArray()); }
private Option FinalizeOption(Option option, RunEnvironment runEnvironment) { option.Verify(); option = option with { RunEnvironment = runEnvironment, Store = new DataLakeNamespaceOption { Namespaces = option.Store.Namespaces.Values.ToDictionary(x => x.Namespace, x => x, StringComparer.OrdinalIgnoreCase), } }; return(option); }
public ArtifactStorageFactory(DataLakeNamespaceOption dataLakeNamespaceOption, ILoggerFactory loggerFactory) : base(dataLakeNamespaceOption, loggerFactory) { }