Interface IServerCache
A cache of key/value pairs stored in server memory
Namespace: Innovator.Server
Assembly: Innovator.Client.dll
Syntax
public interface IServerCache
Properties
| Improve this Doc View SourceItem[String]
Gets or sets the System.Object with the specified key.
Declaration
object this[string key] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
Property Value
Type | Description |
---|---|
System.Object | The System.Object. |
Methods
| Improve this Doc View SourceGet<T>(String)
Gets the object with the specified key coerced to the type T
Declaration
T Get<T>(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
Returns
Type | Description |
---|---|
T | The casted object |
Type Parameters
Name | Description |
---|---|
T | The type to cast the object as |