ASN1C C# Runtime Library  7.2
Public Attributes | List of all members
Asn1OpenTypeField Class Reference

Public Attributes

System.Type actualType
 
Object decoder
 
String nonParameterizedTypeName
 

Detailed Description

Asn1OpenTypeField carries information about the actual type for an open type field in an information object. /p>

Member Data Documentation

◆ actualType

System.Type actualType

actualType is the Type for the actual type. It can be used to instantiate the correct C# class so that known decode methods can be invoked. In some cases (e.g. enumerated types), decode methods are not to be invoked, which is why decoder is also provided. /p>

Referenced by Asn1XmlUtil.CaptureElement(), Asn1Type.Decode(), and Asn1Type.EncodeAsOpenType().

◆ decoder

Object decoder

decoder is some object which may implement known interfaces for decoding an object from an encoding (e.g. Asn1BerDecoder, Asn1PerDecoder, Asn1XerDecoder). When not null and implementing an interface appropriate to the encoding rules in effect, the decoder should be used rather than using actualType to instantiate an object and invoking some decode method on it. /p>

Referenced by Asn1XmlUtil.CaptureElement(), Asn1Type.Decode(), and Asn1Type.EncodeAsOpenType().

◆ nonParameterizedTypeName

String nonParameterizedTypeName

nonParameterizedTypeName is the NonParameterizedTypeName for the actual type, as specified in X.681. This is used by an XER encoding, and can be null when no XER encoders are generated. /p>