44 StringBuilder sb =
new StringBuilder();
60 this.EventType = sb.ToString();
64 this.ParametersVariable = ParamtersVariable;
131 this.ContractIdVariable == O.ContractIdVariable &&
132 this.ContractXmlVariable == O.ContractXmlVariable &&
133 this.ParametersVariable == O.ParametersVariable &&
134 this.RolesVariable == O.RolesVariable &&
135 this.MachineReadableVariable == O.MachineReadableVariable &&
136 this.LegalIdVariable == O.LegalIdVariable &&
137 this.RoleVariable == O.RoleVariable &&
138 this.LocalName == O.LocalName &&
139 this.Namespace == O.Namespace &&
146 int Result = base.GetHashCode();
151 Result ^= Result << 5 ^ (this.
RolesVariable?.GetHashCode() ?? 0);
154 Result ^= Result << 5 ^ (this.
RoleVariable?.GetHashCode() ?? 0);
155 Result ^= Result << 5 ^ (this.
LocalName?.GetHashCode() ?? 0);
156 Result ^= Result << 5 ^ (this.
Namespace?.GetHashCode() ?? 0);
157 Result ^= Result << 5 ^ this.
NameType.GetHashCode();
Abstract base class for cached event handlers.
Event handler for contract events.
string LegalIdVariable
Legal ID variable name.
override int GetHashCode()
string Namespace
Namespace of machine-readable part of contract.
string MachineReadableVariable
Machine-readable variable name.
override bool Equals(object obj)
SecondaryNameType NameType
On which element the name check should be performed.
string RolesVariable
Roles variable name.
string ContractIdVariable
Contract ID variable name.
ContractEventHandler(EvaluationArguments Arguments, int EventIndex, ContractEventNode EventNode, string ContractIdVariable, string ContractXmlVariable, string ParamtersVariable, string RolesVariable, string MachineReadableVariable, string LegalIdVariable, string RoleVariable, string LocalName, string Namespace, SecondaryNameType NameType)
Event handler for contract events.
string ContractXmlVariable
Contract XML variable name.
ContractEventHandler()
Event handler for contract events.
string LocalName
Local-name of machine-readable part of contract.
string ParametersVariable
Parameters variable name.
string RoleVariable
Role variable name.
int EventIndex
Zero-based index of event handler in state.
Contains information required for evaluating script in a state-machine.
Abstract base class for contract event nodes.
Abstract base class for State-Machine event nodes.
SecondaryNameType
What type of secondary name is begin used.