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 Contract contract;
11 private readonly string legalId;
12 private readonly string role;
13 private readonly bool signed;
14
23 public ContractSignedEventArgs(string ContractId, string LegalId, string Role,
25 : base(ContractId)
26 {
27 this.legalId = LegalId;
28 this.role = Role;
29 this.signed = Signed;
30 this.contract = Contract;
31 }
32
36 public string LegalId => this.legalId;
37
41 public string Role => this.role;
42
46 public bool Signed => this.signed;
47
51 public Contract Contract => this.contract;
52
56 public Uri LegalIdUri => ContractsClient.LegalIdUri(this.legalId);
57
61 public string LegalIdUriString => ContractsClient.LegalIdUriString(this.legalId);
62 }
63}
Contains the definition of a contract
Definition: Contract.cs:22
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, bool Signed, Contract Contract)
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