Example #1
0
        public static void Verify(this DataLakeNamespaceOption subject)
        {
            subject.VerifyNotNull(nameof(subject));

            subject.Namespaces.VerifyNotNull(nameof(subject.Namespaces));
            subject.Namespaces.Values.ForEach(x => x.Verify());
        }
Example #2
0
        public DataLakeStoreFactory(DataLakeNamespaceOption dataLakeNamespaceOption, ILoggerFactory loggerFactory)
            : this(loggerFactory)
        {
            dataLakeNamespaceOption.VerifyNotNull(nameof(dataLakeNamespaceOption));

            Add(dataLakeNamespaceOption.Namespaces.Values.ToArray());
        }
Example #3
0
        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);
        }
Example #4
0
 public ArtifactStorageFactory(DataLakeNamespaceOption dataLakeNamespaceOption, ILoggerFactory loggerFactory)
     : base(dataLakeNamespaceOption, loggerFactory)
 {
 }