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
AbsolutePath
Gets the absolute path.
public string AbsolutePath { get; }
Property Value
Name
public string Name { get; set; }
Property Value
ProviderName
public string ProviderName { get; set; }
Property Value
ProviderType
public string ProviderType { get; set; }
Property Value
AccessLevel
public AccessLevel AccessLevel { get; set; }
Property Value
AccessLevel
FolderName
public string FolderName { get; set; }
Property Value
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
The returned by the validation, if any.
Exceptions
Proffer.Storage.Exceptions.BadStoreConfiguration