Class AzureBlobStorageContext
This class contains properties related to the storage service interfaces within the application.
Inheritance
Implements
Inherited Members
Namespace: Talegen.Storage.Net.AzureBlobs
Assembly: Talegen.Storage.Net.AzureBlobs.dll
Syntax
public class AzureBlobStorageContext : IStorageContext
Constructors
| Improve this Doc View SourceAzureBlobStorageContext(String, String, Boolean)
Initializes a new instance of the AzureBlobStorageContext class.
Declaration
public AzureBlobStorageContext(string connectionString, string accountName, bool uniqueWorkspace = false)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionString | The connection string. |
System.String | accountName | Name of the account. |
System.Boolean | uniqueWorkspace | Contains a value indicating whether the storage service shall use a unique workspace sub-folder. |
AzureBlobStorageContext(Uri, String, String, Boolean)
Initializes a new instance of the AzureBlobStorageContext class.
Declaration
public AzureBlobStorageContext(Uri blobEndpointUri, string accountName, string accountKey, bool uniqueWorkspace = false)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | blobEndpointUri | The BLOB endpoint URI. |
System.String | accountName | Name of the account. |
System.String | accountKey | The account key. |
System.Boolean | uniqueWorkspace | Contains a value indicating whether the storage service shall use a unique workspace sub-folder. |
Properties
| Improve this Doc View SourceAccountKey
Gets the account key.
Declaration
public string AccountKey { get; }
Property Value
Type | Description |
---|---|
System.String | The account key. |
AccountName
Gets the name of the account.
Declaration
public string AccountName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the account. |
ConnectionString
Gets the connection string.
Declaration
public string ConnectionString { get; }
Property Value
Type | Description |
---|---|
System.String | The connection string. |
RootWorkspaceLocalFolderPath
Gets the local folder path representation of the root workspace folder Uri.
Declaration
public string RootWorkspaceLocalFolderPath { get; }
Property Value
Type | Description |
---|---|
System.String |
StorageType
Gets the storage type of the context.
Declaration
public string StorageType { get; }
Property Value
Type | Description |
---|---|
System.String |
UniqueWorkspace
Gets a value indicating whether the storage service shall use a unique workspace sub-folder.
Declaration
public bool UniqueWorkspace { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
WorkspaceUri
Gets the root storage workspace URI path.
Declaration
public Uri WorkspaceUri { get; }
Property Value
Type | Description |
---|---|
System.Uri |