Class StateStorer
Inheritance
System.Object
StateStorer
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: Cosmos.VS.Windows
Assembly: Cosmos.VS.Windows.dll
Syntax
public class StateStorer
Constructors
| Improve this Doc View SourceStateStorer()
Declaration
public StateStorer()
Fields
| Improve this Doc View SourcemCurrLineId
Declaration
protected string mCurrLineId
Field Value
Type | Description |
---|---|
System.String |
mCurrLineId_Lock
Declaration
protected object mCurrLineId_Lock
Field Value
Type | Description |
---|---|
System.Object |
mStates
Declaration
protected Dictionary<string, Dictionary<string, byte[]>> mStates
Field Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.Dictionary<System.String, System.Byte[]>> |
Properties
| Improve this Doc View SourceCurrLineId
Declaration
public string CurrLineId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceClearState()
Declaration
public void ClearState()
ContainsStatesForLine(String)
Declaration
public bool ContainsStatesForLine(string lineId)
Parameters
Type | Name | Description |
---|---|---|
System.String | lineId |
Returns
Type | Description |
---|---|
System.Boolean |
RetrieveState(String, String)
Declaration
public byte[] RetrieveState(string lineId, string stateId)
Parameters
Type | Name | Description |
---|---|---|
System.String | lineId | |
System.String | stateId |
Returns
Type | Description |
---|---|
System.Byte[] |
StoreState(String, Byte[])
Declaration
public void StoreState(string stateId, byte[] data)
Parameters
Type | Name | Description |
---|---|---|
System.String | stateId | |
System.Byte[] | data |