C# Class Novell.Directory.Ldap.Asn1.Asn1SequenceOf

Inheritance: Asn1Structured
显示文件 Open project: EventStore/csharp-ldap Class Usage Examples

Public Properties

Property Type Description
ID Asn1Identifier

Public Methods

Method Description
Asn1SequenceOf ( ) : System

Constructs an Asn1SequenceOf object with no actual Asn1Objects in it. Assumes a default size of 5 elements.

Asn1SequenceOf ( Asn1Sequence sequence ) : System

A copy constructor which creates an Asn1SequenceOf from an instance of Asn1Sequence. Since SEQUENCE and SEQUENCE_OF have the same identifier, the decoder will always return a SEQUENCE object when it detects that identifier. In order to take advantage of the Asn1SequenceOf type, we need to be able to construct this object when knowingly receiving an Asn1Sequence.

Asn1SequenceOf ( int size ) : System

Constructs an Asn1SequenceOf object with the specified number of placeholders for Asn1Objects. However there are no actual Asn1Objects in this SequenceOf object.

Private Methods

Method Description
Asn1SequenceOf ( Asn1Decoder dec, System in_Renamed, int len ) : System
ToString ( ) : System.String

Method Details

Asn1SequenceOf() public method

Constructs an Asn1SequenceOf object with no actual Asn1Objects in it. Assumes a default size of 5 elements.
public Asn1SequenceOf ( ) : System
return System

Asn1SequenceOf() public method

A copy constructor which creates an Asn1SequenceOf from an instance of Asn1Sequence. Since SEQUENCE and SEQUENCE_OF have the same identifier, the decoder will always return a SEQUENCE object when it detects that identifier. In order to take advantage of the Asn1SequenceOf type, we need to be able to construct this object when knowingly receiving an Asn1Sequence.
public Asn1SequenceOf ( Asn1Sequence sequence ) : System
sequence Asn1Sequence
return System

Asn1SequenceOf() public method

Constructs an Asn1SequenceOf object with the specified number of placeholders for Asn1Objects. However there are no actual Asn1Objects in this SequenceOf object.
public Asn1SequenceOf ( int size ) : System
size int Specifies the initial size of the collection. ///
return System

Property Details

ID public_oe static_oe property

ID is added for Optimization. ID needs only be one Value for every instance, thus we create it only once.
public static Asn1Identifier,Novell.Directory.Ldap.Asn1 ID
return Asn1Identifier