Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
UserDefinedOption.cs
1using System;
2using System.Collections.Generic;
3using System.Text;
4
6{
11 {
12 private readonly UserDefinedItem[] items;
13
19 {
20 this.items = Items;
21 }
22
26 public UserDefinedItem[] Items => this.items;
27
35 public override Asn1Node Parse(Asn1Document Document, Asn1Macro Macro)
36 {
37 Asn1Node Result = null;
38
39 foreach (UserDefinedItem Item in this.items)
40 Result = Item.Parse(Document, Macro);
41
42 return Result;
43 }
44 }
45}
Represents an ASN.1 document.
Definition: Asn1Document.cs:21
Base class for all ASN.1 nodes.
Definition: Asn1Node.cs:38
Abstract base class for user-defined parts in macros
abstract Asn1Node Parse(Asn1Document Document, Asn1Macro Macro)
Parses the portion of the document at the current position, according to the instructions available i...
UserDefinedOption(UserDefinedItem[] Items)
One option of many
override Asn1Node Parse(Asn1Document Document, Asn1Macro Macro)
Parses the portion of the document at the current position, according to the instructions available i...
UserDefinedItem[] Items
Items comprising option