Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
EntryEventHandler.cs
3
5{
10 {
15 : base()
16 {
17 }
18
28 : base(Arguments, EventIndex)
29 {
30 this.EventType = nameof(EntryEventHandler) + "|" + EventNode.GetType().Name + "|" + Collection + "|" + Type;
31 this.Collection = Collection;
32 this.Type = Type;
33 }
34
38 public string Collection { get; set; }
39
43 public string Type { get; set; }
44
46 public override bool Equals(object obj)
47 {
48 return
49 base.Equals(obj) &&
50 obj is EntryEventHandler O &&
51 this.Collection == O.Collection &&
52 this.Type == O.Type;
53 }
54
56 public override int GetHashCode()
57 {
58 int Result = base.GetHashCode();
59
60 Result ^= Result << 5 ^ (this.Collection?.GetHashCode() ?? 0);
61 Result ^= Result << 5 ^ (this.Type?.GetHashCode() ?? 0);
62
63 return Result;
64 }
65 }
66}
Event handler for entry events.
override int GetHashCode()
string Type
Type
EntryEventHandler()
Event handler for entry events.
override bool Equals(object obj)
EntryEventHandler(EvaluationArguments Arguments, int EventIndex, EntryEventNode EventNode, string Collection, string Type)
Event handler for entry events.
string Collection
Collection
int EventIndex
Zero-based index of event handler in state.
Definition: EventHandler.cs:60
Contains information required for evaluating script in a state-machine.
Abstract base class for entry event nodes.
Abstract base class for State-Machine event nodes.
Definition: EventNode.cs:10