Event Class
Represents an event.
Inheritance Hierarchy
SystemObject
TcHmiSrv.CoreEvent
Namespace: TcHmiSrv.Core
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version:
3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9
Syntax
C#
public class Event : IComparable<Event>,
ICopyable<Event>, IDeepCopyable<Event>, IShallowCopyable<Event>,
IEquatable<Event>The Event type exposes the following members.
Constructors
|
|
Name |
Description |
|---|---|---|
|
|
Initializes a new instance of the Event class. | |
|
|
Initializes a new instance of the Event class with the specified Context and name. |
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Contains the domain of the Event. | |
|
|
Gets a value that indicates whether the Event is set. | |
|
|
Contains the name of the Event. | |
|
|
Contains the payload of the Event. | |
|
|
Contains the Session of the Event. | |
|
|
Contains the DateTime when the Event was received. |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Compares the current Event with another Event and returns an integer that indicates whether the current Event precedes, follows, or occurs in the same position in the sort order as the other Event. | |
|
|
Creates a new object that is a deep copy of the current Event. | |
|
|
Indicates whether the current Event is equal to another Event. | |
|
|
Determines whether the specified Object is equal to the
current Event. | |
|
|
Allows an object to try to free resources and perform other
cleanup operations before it is reclaimed by garbage
collection. | |
|
|
Serves as the default hash function. | |
|
|
Gets the Type of the current
instance. | |
|
|
Creates a shallow copy of the current Object. | |
|
|
Creates a new Event that is a shallow copy of the current Event. | |
|
|
Returns a String that represents the
Name of the
current Event. |
Operators
|
|
Name |
Description |
|---|---|---|
|
|
Determines whether two instances of the Event class are equal. | |
|
|
Determines whether the current instance of the Event class is greater than another instance. | |
|
|
Determines whether the current instance of the Event class is greater than or equal to another instance. | |
|
|
Determines whether two instances of the Event class are not equal. | |
|
|
Determines whether the current instance of the Event class is less than another instance. | |
|
|
Determines whether the current instance of the Event class is less than or equal to another instance. |
Extension Methods
|
|
Name |
Description |
|---|---|---|
|
|
Returns an unformatted JSON String that represents the
current Event. | |
|
|
Returns an unformatted JSON String that represents the
current Event. | |
|
|
Returns a JSON String that represents the
current Event. |
Version Information
Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0