FileSystemStorageProvider

Namespace: Proffer.Storage.FileSystem

A provider to handle and build file stores pointing on a File System directory.

public class FileSystemStorageProvider : Proffer.Storage.Internal.StorageProviderBase`4[[Proffer.Storage.FileSystem.Configuration.FileSystemParsedOptions, Proffer.Storage.FileSystem, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Proffer.Storage.FileSystem.Configuration.FileSystemProviderOptions, Proffer.Storage.FileSystem, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Proffer.Storage.FileSystem.Configuration.FileSystemStoreOptions, Proffer.Storage.FileSystem, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Proffer.Storage.FileSystem.Configuration.FileSystemScopedStoreOptions, Proffer.Storage.FileSystem, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Proffer.Storage.IStorageProvider

Inheritance Object → StorageProviderBase<FileSystemParsedOptions, FileSystemProviderOptions, FileSystemStoreOptions, FileSystemScopedStoreOptions> → FileSystemStorageProvider
Implements IStorageProvider

Fields

ProviderName

The FileSystemStorageProvider name.

public static string ProviderName;

Properties

Name

Gets the name of this provider.

public string Name { get; }

Property Value

String

Constructors

FileSystemStorageProvider(IOptions<FileSystemParsedOptions>, IPublicUrlProvider, IExtendedPropertiesProvider)

Initializes a new instance of the FileSystemStorageProvider class.

public FileSystemStorageProvider(IOptions<FileSystemParsedOptions> options, IPublicUrlProvider publicUrlProvider, IExtendedPropertiesProvider extendedPropertiesProvider)

Parameters

options IOptions<FileSystemParsedOptions>
The options.

publicUrlProvider IPublicUrlProvider
The public URL provider.

extendedPropertiesProvider IExtendedPropertiesProvider
The extended properties provider.

Methods

BuildStoreInternal(String, FileSystemStoreOptions)

Provider-specific build of a store with specific options.

protected IStore BuildStoreInternal(string storeName, FileSystemStoreOptions storeOptions)

Parameters

storeName String
The name of the store.

storeOptions FileSystemStoreOptions
The store options.

Returns

IStore

        A configured .