Show / Hide Table of Contents

Class SessionKey

Inheritance
System.Object
SessionKey
Implements
System.IFormattable
System.IComparable
System.IComparable<SessionKey>
System.IEquatable<SessionKey>
Namespace: MAT.OCS.Core
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
Type Description
SessionKey

Methods

CompareTo(SessionKey)

Declaration
public int CompareTo(SessionKey other)
Parameters
Type Name Description
SessionKey other
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
Type Name Description
SessionKey other
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
Type Description
SessionKey

Parse(String)

Declaration
public static SessionKey Parse(string input)
Parameters
Type Name Description
System.String input
Returns
Type Description
SessionKey

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

ToString(String, IFormatProvider)

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
Type Name Description
SessionKey key1
SessionKey key2
Returns
Type Description
System.Boolean

Explicit(SessionKey to Guid)

Declaration
public static explicit operator Guid(SessionKey instance)
Parameters
Type Name Description
SessionKey instance
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
Type Description
SessionKey

Inequality(SessionKey, SessionKey)

Declaration
public static bool operator !=(SessionKey key1, SessionKey key2)
Parameters
Type Name Description
SessionKey key1
SessionKey key2
Returns
Type Description
System.Boolean

Implements

System.IFormattable
System.IComparable
System.IComparable<>
System.IEquatable<>
Back to top Generated by DocFX