Interface IStateManager
Assembly: FChoice.Common.dll
Syntax
public interface IStateManager
Properties
ApplicationName
Declaration
string ApplicationName { get; set; }
Property Value
Type |
Description |
System.String |
|
IsStateSerialized
Declaration
bool IsStateSerialized { get; }
Property Value
Type |
Description |
System.Boolean |
|
StateTimeout
Declaration
TimeSpan StateTimeout { get; set; }
Property Value
Type |
Description |
System.TimeSpan |
|
Methods
GetApplicationStates()
Declaration
object[] GetApplicationStates()
Returns
Type |
Description |
System.Object[] |
|
GetApplicationStates(Type)
Declaration
object[] GetApplicationStates(Type stateType)
Parameters
Type |
Name |
Description |
System.Type |
stateType |
|
Returns
Type |
Description |
System.Object[] |
|
InitializeManager(String, TimeSpan, XmlNode)
Declaration
void InitializeManager(string applicationName, TimeSpan timeoutLength, XmlNode configNode)
Parameters
Type |
Name |
Description |
System.String |
applicationName |
|
System.TimeSpan |
timeoutLength |
|
System.Xml.XmlNode |
configNode |
|
InitializeState(Guid)
Declaration
void InitializeState(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
IsStateExpired(Guid)
Declaration
bool IsStateExpired(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
Returns
Type |
Description |
System.Boolean |
|
LoadState(Guid)
Declaration
byte[] LoadState(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
Returns
Type |
Description |
System.Byte[] |
|
LoadState(Guid, Type)
Declaration
object LoadState(Guid id, Type stateType)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
System.Type |
stateType |
|
Returns
Type |
Description |
System.Object |
|
RemoveExpiredStates()
Declaration
Guid[] RemoveExpiredStates()
Returns
Type |
Description |
System.Guid[] |
|
RemoveState(Guid)
Declaration
void RemoveState(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
ResetTimeout(Guid)
Declaration
void ResetTimeout(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
SaveState(Guid, Byte[])
Declaration
void SaveState(Guid id, byte[] state)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
System.Byte[] |
state |
|
SaveState(Guid, Object)
Declaration
void SaveState(Guid id, object state)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
System.Object |
state |
|