FileSystemStoreOptions

Namespace: Proffer.Storage.FileSystem.Configuration

Options for an FileSystemStore.

public class FileSystemStoreOptions : Proffer.Storage.Configuration.StoreOptions, Proffer.Storage.Configuration.IStoreOptions, Proffer.Configuration.INamedElementOptions

Inheritance Object → StoreOptions → FileSystemStoreOptions
Implements IStoreOptions, INamedElementOptions

Properties

RootPath

Gets or sets the root path.

public string RootPath { get; set; }

Property Value

String

AbsolutePath

Gets the absolute path.

public string AbsolutePath { get; }

Property Value

String

Name

public string Name { get; set; }

Property Value

String

ProviderName

public string ProviderName { get; set; }

Property Value

String

ProviderType

public string ProviderType { get; set; }

Property Value

String

AccessLevel

public AccessLevel AccessLevel { get; set; }

Property Value

AccessLevel

FolderName

public string FolderName { get; set; }

Property Value

String

Constructors

FileSystemStoreOptions()

public FileSystemStoreOptions()

Methods

Validate(Boolean)

Validates the options.

public IEnumerable<IOptionError> Validate(bool throwOnError)

Parameters

throwOnError Boolean
If set to true, throws an exception when the validation fails with any .

Returns

IEnumerable<IOptionError>

        The  returned by the validation, if any.

Exceptions

Proffer.Storage.Exceptions.BadStoreConfiguration