IStoreOptions

Namespace: Proffer.Storage.Configuration

Options for an IStore.

public interface IStoreOptions : Proffer.Configuration.INamedElementOptions

Implements INamedElementOptions

Properties

ProviderName

Gets or sets the name of the provider.

public abstract string ProviderName { get; set; }

Property Value

String

ProviderType

Gets or sets the type of the provider.

public abstract string ProviderType { get; set; }

Property Value

String

AccessLevel

Gets or sets the access level.

public abstract AccessLevel AccessLevel { get; set; }

Property Value

AccessLevel

FolderName

Gets or sets the name of the folder.

public abstract string FolderName { get; set; }

Property Value

String

Methods

Validate(Boolean)

Validates the options.

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

BadStoreConfiguration