Class ServicesConfiguration
Provides extension methods to register the file system storage services into the dependency injection container.
Inherited Members
Namespace: DataWeb.Storage.FileSystem
Assembly: DataWeb.Storage.FileSystem.dll
Syntax
public static class ServicesConfiguration
Methods
AddDataWebStorageFileSystem(IServiceCollection)
Registers the file system implementations of IFileStorageStore
and IThumbnailStorageStore as singletons.
Uses TryAdd to avoid overriding existing registrations.
Declaration
public static IServiceCollection AddDataWebStorageFileSystem(this IServiceCollection services)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceCollection | services | The IServiceCollection to add the services to. |
Returns
| Type | Description |
|---|---|
| IServiceCollection | The same IServiceCollection for chaining. |