AzureBlobsStoreOptions

Namespace: Proffer.Storage.Azure.Blobs.Configuration

Options for an AzureBlobsStore.

public class AzureBlobsStoreOptions : Proffer.Storage.Configuration.StoreOptions, Proffer.Storage.Configuration.IStoreOptions, Proffer.Configuration.INamedElementOptions, Proffer.Azure.Configuration.IAzureStorageOptions

Inheritance Object → StoreOptions → AzureBlobsStoreOptions
Implements IStoreOptions, INamedElementOptions, IAzureStorageOptions

Properties

ConnectionString

Gets or sets the connection string.

public string ConnectionString { get; set; }

Property Value

String

ConnectionStringName

Gets or sets the name of the connection string to reference.

public string ConnectionStringName { get; set; }

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

AzureBlobsStoreOptions()

public AzureBlobsStoreOptions()

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