Show / Hide Table of Contents

Class LocalStorageContext

This class contains properties related to the storage service interfaces within the application.

Inheritance
System.Object
LocalStorageContext
Implements
IStorageContext
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.Disk
Assembly: Talegen.Storage.Net.Core.dll
Syntax
public class LocalStorageContext : IStorageContext

Constructors

| Improve this Doc View Source

LocalStorageContext(String, Boolean)

Initializes a new instance of the LocalStorageContext class.

Declaration
public LocalStorageContext(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.

| Improve this Doc View Source

LocalStorageContext(Uri, Boolean)

Initializes a new instance of the LocalStorageContext class.

Declaration
public LocalStorageContext(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 Source

RootWorkspaceLocalFolderPath

Gets the local folder path representation of the root workspace folder Uri.

Declaration
public string RootWorkspaceLocalFolderPath { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

StorageType

Gets the storage type of the context.

Declaration
public string StorageType { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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
| Improve this Doc View Source

WorkspaceUri

Gets the root storage workspace URI path.

Declaration
public Uri WorkspaceUri { get; }
Property Value
Type Description
System.Uri

Implements

IStorageContext
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright (c) Talegen, LLC. All rights reserved.