Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Asn1UnsignedIntegerValue.cs
1using System;
2using System.Collections.Generic;
3using System.Text;
4using System.Threading.Tasks;
5
7{
12 {
13 private readonly ulong value;
14
20 {
21 this.value = Value;
22 }
23
27 public ulong Value => this.value;
28
36 public override Task ExportCSharp(StringBuilder Output, CSharpExportState State,
37 int Indent, CSharpExportPass Pass)
38 {
39 if (Pass == CSharpExportPass.Explicit)
40 Output.Append(this.value.ToString());
41
42 return Task.CompletedTask;
43 }
44
48 public override string CSharpType => "UInt64";
49 }
50}
Abstract base class for values.
Definition: Asn1Value.cs:11
override Task ExportCSharp(StringBuilder Output, CSharpExportState State, int Indent, CSharpExportPass Pass)
Exports to C#
CSharpExportPass
Defines different C# export passes.
Definition: Asn1Node.cs:12