Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ContractSignedEventArgs.cs
1using System;
2
4{
9 {
10 private readonly string legalId;
11 private readonly string role;
12
19 public ContractSignedEventArgs(string ContractId, string LegalId, string Role)
20 : base(ContractId)
21 {
22 this.legalId = LegalId;
23 this.role = Role;
24 }
25
29 public string LegalId => this.legalId;
30
34 public string Role => this.role;
35
39 public Uri LegalIdUri => ContractsClient.LegalIdUri(this.legalId);
40
44 public string LegalIdUriString => ContractsClient.LegalIdUriString(this.legalId);
45 }
46}
Adds support for legal identities, smart contracts and signatures to an XMPP client.
static string LegalIdUriString(string LegalId)
Legal identity URI, as a string.
static Uri LegalIdUri(string LegalId)
Legal identity URI.
Uri LegalIdUri
ID of legal identity signing the contract, as an URI.
ContractSignedEventArgs(string ContractId, string LegalId, string Role)
Event arguments for contract signature events
string LegalIdUriString
ID of legal identity signing the contract, as an URI string.
Class defining a role
Definition: Role.cs:7