Context Class
Represents the context of an invoked method or symbol.
Inheritance Hierarchy
System.Object
TcHmiSrv.Core.Context
Namespace: TcHmiSrv.Core
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0
Syntax
C#
public class Context : ICopyable<Context>,
IDeepCopyable<Context>, IShallowCopyable<Context>, IEquatable<Context>
The Context type exposes the following members.
Properties
|
Name |
Description |
---|---|---|
|
Contains the currently active domain. | |
|
Contains a hash value that uniquely identifies the Context. | |
|
Contains the type of the request that is currently being executed. | |
|
Contains the Session of the active user. | |
|
Contains an identifier to uniquely identify a subscription. |
Methods
|
Name |
Description |
---|---|---|
|
Creates a new object that is a deep copy of the current Context. | |
|
Determines whether the specified Object is equal to the current Context. (Overrides Object.Equals(Object).) | |
|
Indicates whether the current Context is equal to another Context. | |
|
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 Context that is a shallow copy of the current Context. | |
|
Returns a string that represents the current object. (Inherited from Object.) |
Operators
|
Name |
Description |
---|---|---|
|
Determines whether two instances of the Context class are equal. | |
|
Determines whether two instances of the Context class are not equal. |
Extension Methods
|
Name |
Description |
---|---|---|
|
Overloaded. Returns an unformatted JSON String that represents the current Context. (Defined by ContextExtensions.) | |
|
Overloaded. Returns a JSON String that represents the current Context. (Defined by ContextExtensions.) |