Class BaseStoreProvider<TStore, TStoreLevel>
The base class of the storage provider.
Inheritance
System.Object
BaseStoreProvider<TStore, TStoreLevel>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Core.Store
Assembly: Terrasoft.Core.dll
Syntax
public abstract class BaseStoreProvider<TStore, TStoreLevel>
where TStore : class where TStoreLevel : struct
Type Parameters
Name | Description |
---|---|
TStore | A class that defines the type of storage. |
TStoreLevel | A structure whose values define the levels of access to data in the storage. |
Constructors
BaseStoreProvider()
Declaration
protected BaseStoreProvider()
Properties
Item[TStoreLevel]
An indexer for accessing the storage of the TStore
type with a given level of access to data in the storage.
Declaration
public TStore this[TStoreLevel level] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
TStoreLevel | level | The level of access to the data storage. |
Property Value
Type | Description |
---|---|
TStore | A storage instance of the |
Exceptions
Type | Condition |
---|---|
InvalidObjectStateException | If the storage is not configured on the |