Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
TemplateReferenceModel.cs
2{
7 {
8 private readonly Property<string> templateName;
9 private readonly Property<string> contractId;
10
17 {
18 this.templateName = new Property<string>(nameof(TemplateName), TemplateName, this);
19 this.contractId = new Property<string>(nameof(ContractId), ContractId, this);
20 }
21
25 public string TemplateName
26 {
27 get => this.templateName.Value;
28 set => this.templateName.Value = value;
29 }
30
34 public string ContractId
35 {
36 get => this.contractId.Value;
37 set => this.contractId.Value = value;
38 }
39
41 public override string ToString()
42 {
43 return this.TemplateName + ": " + this.ContractId;
44 }
45 }
46}