Interface IBaseStore
Basic interface for data and cache storages.
Namespace: Terrasoft.Core.Store
Assembly: Terrasoft.Core.dll
Syntax
public interface IBaseStore
Properties
Item[String]
Gets or sets a storage element by the given key.
Declaration
object this[string key] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.String | key | Element key. |
Property Value
Type | Description |
---|---|
System.Object | Value in the storage that correspond to the |
Methods
Initialize(IDictionary<String, String>)
Initializes the storage using given parameters
.
Declaration
void Initialize(IDictionary<string, string> parameters)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.String> | parameters | Parameters for storage initialization. |
Remove(String)
Removes element in the storage by the key
.
Declaration
void Remove(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | Element key. |