SessionID
SessionId Struct
Encapsulates a Session Id.
Syntax
public struct SessionId
Member Details
Equals Method
Value comparison for SessionId.
SyntaxParameters
obj
The session to compare.
Returns
true if the argument is an SessionId and has the same value.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
GetHashCode Method
Retrieves the hash code for this instance.
Syntaxpublic override int GetHashCode ()
Returns
The hash code for this instance.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
Invalid Field
The invalid id session.
Syntaxpublic static readonly SessionId Invalid
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
op_Equality Method
SessionId equality operator.
SyntaxParameters
a
First SessionId to compare.
b
Second SessionId to compare.
Returns
true if the SessionIds have the same value.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
Conversion Method
Internal explicit conversion from a int.
Syntaxpublic static implicit operator SessionId (int id)
Parameters
id
A int representation of an SessionId
Returns
A new SessionId initialized with the given int.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
op_Inequality Method
SessionId inequality operator.
SyntaxParameters
a
First SessionId to compare.
b
Second SessionId to compare.
Returns
true if the SessionIds have a different value.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
ToString Method
Converts the id to a hexadecimal string representation.
Syntaxpublic override string ToString ()
Returns
The hexadecimal string representation.
Remarks
RequirementsNamespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
Last updated