예제 #1
0
        public static ConfigurationBuilder <TInterface> UseStorageNetBlobs <TInterface>(this ConfigurationBuilder <TInterface> builder, IBlobStorageProvider blobs) where TInterface : class
        {
            IConfigStore store = new BlobConfigStore(blobs);

            builder.UseConfigStore(store);

            return(builder);
        }
예제 #2
0
        public static IConfigConfiguration UseStorageNetBlobs(this IConfigConfiguration configuration, IBlobStorageProvider blobs)
        {
            IConfigStore store = new BlobConfigStore(blobs);

            configuration.AddStore(store);

            return(configuration);
        }