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

Inheritance: Asn1Structured
Mostra file Open project: EventStore/csharp-ldap Class Usage Examples

Public Properties

Property Type Description
ID Asn1Identifier

Public Methods

Method Description
Asn1SetOf ( ) : System

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

Asn1SetOf ( Asn1Set set_Renamed ) : System

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

Asn1SetOf ( int size ) : System

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

Private Methods

Method Description
ToString ( ) : System.String

Method Details

Asn1SetOf() public method

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

Asn1SetOf() public method

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

Asn1SetOf() public method

Constructs an Asn1SetOf object with the specified number of placeholders for Asn1Objects. However there are no actual Asn1Objects in this SequenceOf object.
public Asn1SetOf ( 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