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.

Constructors

 

Name

Description

Context Class 1:

Context

Initializes a new instance of the Context class.

Properties

 

Name

Description

Context Class 2:

Domain

Contains the currently active domain.

Context Class 3:

Hash

Contains a hash value that uniquely identifies the Context.

Context Class 4:

RequestType

Contains the type of the request that is currently being executed.

Context Class 5:

Session

Contains the Session of the active user.

Context Class 6:

SubscriptionId

Contains an identifier to uniquely identify a subscription.

Methods

 

Name

Description

Context Class 7:

DeepCopy

Creates a new object that is a deep copy of the current Context.

Context Class 8:

Equals(Object)

Determines whether the specified Object is equal to the current Context. (Overrides Object.Equals(Object).)

Context Class 9:

Equals(Context)

Indicates whether the current Context is equal to another Context.

Context Class 10:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Context Class 11:

GetHashCode

Serves as the default hash function. (Overrides Object.GetHashCode..)

Context Class 12:

GetType

Gets the Type of the current instance. (Inherited from Object.)

Context Class 13:

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Context Class 14:

ShallowCopy

Creates a new Context that is a shallow copy of the current Context.

Context Class 15:

ToString

Returns a string that represents the current object. (Inherited from Object.)

Operators

 

Name

Description

Context Class 16:

Context Class 17:

Equality

Determines whether two instances of the Context class are equal.

Context Class 18:

Context Class 19:

Inequality

Determines whether two instances of the Context class are not equal.

Extension Methods

 

Name

Description

Context Class 20:

ToJson.

Overloaded.

Returns an unformatted JSON String that represents the current Context. (Defined by ContextExtensions.)

Context Class 21:

ToJson(Boolean)

Overloaded.

Returns a JSON String that represents the current Context. (Defined by ContextExtensions.)

Reference

TcHmiSrv.Core Namespace