Session Class
Represents a session that contains information about an active user.
Inheritance Hierarchy
System.Object
TcHmiSrv.Core.Session
Namespace: TcHmiSrv.Core
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0
Syntax
C#
public class Session : ICopyable<Session>,
IDeepCopyable<Session>, IShallowCopyable<Session>, IEquatable<Session>
The Session type exposes the following members.
Properties
|
Name |
Description |
---|---|---|
|
Contains the EndpointInfo the Session. | |
|
Contains the identifier of the Session. | |
|
Contains the locale of the active user in BCP 47 representation. | |
|
Contains the numeric identifier of the WebSocket of the Session. | |
|
Contains the name of the active user. |
Methods
|
Name |
Description |
---|---|---|
|
Creates a new object that is a deep copy of the current Session. | |
|
Determines whether the specified Object is equal to the current Session. (Overrides Object.Equals(Object).) | |
|
Indicates whether the current Session is equal to another Session. | |
|
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
|
Serves as the default hash function. (Overrides Object.GetHashCode..) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
|
Creates a shallow copy of the current Object. (Inherited from Object.) | |
|
Creates a new Session that is a shallow copy of the current Session. | |
|
Returns a string that represents the current object. (Inherited from Object.) |
Operators
|
Name |
Description |
---|---|---|
|
Determines whether two instances of the Session class are equal. | |
|
Determines whether two instances of the Session class are not equal. |
Extension Methods
|
Name |
Description |
---|---|---|
|
Overloaded. Returns an unformatted JSON String that represents the current Session. (Defined by SessionExtensions.) | |
|
Overloaded. Returns a JSON String that represents the current Session. (Defined by SessionExtensions.) |