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); }
public static IConfigConfiguration UseStorageNetBlobs(this IConfigConfiguration configuration, IBlobStorageProvider blobs) { IConfigStore store = new BlobConfigStore(blobs); configuration.AddStore(store); return(configuration); }