Class SessionKey
Inheritance
System.Object
SessionKey
Implements
System.IFormattable
System.IComparable
Assembly: MAT.OCS.Core.dll
Syntax
public sealed class SessionKey : ValueType, IFormattable, IComparable, IComparable<SessionKey>, IEquatable<SessionKey>
Constructors
SessionKey(Guid)
Declaration
public SessionKey(Guid guid)
Parameters
Type |
Name |
Description |
System.Guid |
guid |
|
SessionKey(String)
Declaration
public SessionKey(string guid)
Parameters
Type |
Name |
Description |
System.String |
guid |
|
Fields
Empty
Declaration
public static readonly SessionKey Empty
Field Value
Methods
CompareTo(SessionKey)
Declaration
public int CompareTo(SessionKey other)
Parameters
Returns
Type |
Description |
System.Int32 |
|
CompareTo(Object)
Declaration
public int CompareTo(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Int32 |
|
Equals(SessionKey)
Declaration
public bool Equals(SessionKey other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
NewKey()
Declaration
public static SessionKey NewKey()
Returns
Parse(String)
Declaration
public static SessionKey Parse(string input)
Parameters
Type |
Name |
Description |
System.String |
input |
|
Returns
ToByteArray()
Declaration
public byte[] ToByteArray()
Returns
Type |
Description |
System.Byte[] |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
ToString(String)
Declaration
public string ToString(string format)
Parameters
Type |
Name |
Description |
System.String |
format |
|
Returns
Type |
Description |
System.String |
|
Declaration
public string ToString(string format, IFormatProvider formatProvider)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.IFormatProvider |
formatProvider |
|
Returns
Type |
Description |
System.String |
|
Operators
Equality(SessionKey, SessionKey)
Declaration
public static bool operator ==(SessionKey key1, SessionKey key2)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Explicit(SessionKey to Guid)
Declaration
public static explicit operator Guid(SessionKey instance)
Parameters
Returns
Type |
Description |
System.Guid |
|
Explicit(Guid to SessionKey)
Declaration
public static explicit operator SessionKey(Guid value)
Parameters
Type |
Name |
Description |
System.Guid |
value |
|
Returns
Inequality(SessionKey, SessionKey)
Declaration
public static bool operator !=(SessionKey key1, SessionKey key2)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IFormattable
System.IComparable
System.IComparable<>
System.IEquatable<>