Class MemoryStorageContext
This class contains properties related to the storage service interfaces within the application.
Inheritance
System.Object
MemoryStorageContext
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Talegen.Storage.Net.Core.Memory
Assembly: Talegen.Storage.Net.Core.dll
Syntax
public class MemoryStorageContext : IStorageContext
Constructors
| Improve this Doc View SourceMemoryStorageContext(String, Boolean)
Initializes a new instance of the MemoryStorageContext class.
Declaration
public MemoryStorageContext(string workspacePath = "", bool uniqueWorkspace = true)
Parameters
Type | Name | Description |
---|---|---|
System.String | workspacePath | Contains an the root workspace folder Uri path string. |
System.Boolean | uniqueWorkspace | Contains a value indicating whether the storage service shall use a unique workspace sub-folder. |
MemoryStorageContext(Uri, Boolean)
Initializes a new instance of the MemoryStorageContext class.
Declaration
public MemoryStorageContext(Uri workspaceUri, bool uniqueWorkspace = true)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | workspaceUri | Contains a root workspace folder Uri. |
System.Boolean | uniqueWorkspace | Contains a value indicating whether the storage service shall use a unique workspace sub-folder. |
Properties
| Improve this Doc View SourceRootWorkspaceLocalFolderPath
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 |