FileSystemStorageServiceCollectionExtensions
Namespace: Proffer.Storage
Microsoft.Extensions.DependencyInjection.IServiceCollection extension methods.
public static class FileSystemStorageServiceCollectionExtensions
Inheritance Object → FileSystemStorageServiceCollectionExtensions
Methods
AddFileSystemStorage(IServiceCollection, String)
Registers the Proffer.Storage services to the File System on the given root path.
public static IServiceCollection AddFileSystemStorage(IServiceCollection services, string rootPath)
Parameters
services
IServiceCollection
The service collection.
rootPath
String
The root path.
Returns
IServiceCollection
The service collection.
AddFileSystemStorage(IServiceCollection)
Registers the Proffer.Storage services to the File System on the root path System.IO.Directory.GetCurrentDirectory.
public static IServiceCollection AddFileSystemStorage(IServiceCollection services)
Parameters
services
IServiceCollection
The service collection.
Returns
IServiceCollection
The service collection.