2using System.Collections.Generic;
4using System.Threading.Tasks;
46 Output.Append(Tabs(Indent));
47 Output.Append(
"public class ");
48 Output.Append(ToCSharp(this.
Name));
50 Output.AppendLine(
"Seq");
52 Output.Append(Tabs(Indent));
53 Output.AppendLine(
"{");
63 Output.Append(Tabs(Indent));
64 Output.AppendLine(
"}");
73 Output.Append(Tabs(Indent));
74 Output.Append(
"public class ");
75 Output.AppendLine(ToCSharp(this.
Name));
77 Output.Append(Tabs(Indent));
78 Output.AppendLine(
"{");
90 Output.Append(Tabs(Indent));
91 Output.AppendLine(
"}");
96 Output.Append(ToCSharp(this.
Name));
void ClosePending(StringBuilder Output)
Close pending actions
string Name
Optional field or type name.
bool TypeDefinition
If construct is part of a type definition.
Abstract base class for list constructs.
Base class for all ASN.1 nodes.
virtual Task ExportCSharp(StringBuilder Output, CSharpExportState State, int Indent, CSharpExportPass Pass)
Exports to C#
Represents a ASN.1 SEQUENCE construct.
override async Task ExportCSharp(StringBuilder Output, CSharpExportState State, int Indent, CSharpExportPass Pass)
Exports to C#
Asn1Sequence(string Name, bool TypeDef, Asn1Node[] Nodes)
Represents a ASN.1 SEQUENCE construct.
override bool ConstructedType
If the type is a constructed type.
CSharpExportPass
Defines different C# export passes.