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

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

Public Properties

Property Type Description
ID Asn1Identifier

Public Methods

Method Description
Asn1Enumerated ( int content ) : System

Call this constructor to construct an Asn1Enumerated object from an integer value.

Asn1Enumerated ( long content ) : System

Call this constructor to construct an Asn1Enumerated object from a long value.

ToString ( ) : System.String

Return a String representation of this Asn1Enumerated.

encode ( Asn1Encoder enc, System out_Renamed ) : void

Call this method to encode the current instance into the specified output stream using the specified encoder object.

Private Methods

Method Description
Asn1Enumerated ( Asn1Decoder dec, System in_Renamed, int len ) : System

Method Details

Asn1Enumerated() public method

Call this constructor to construct an Asn1Enumerated object from an integer value.
public Asn1Enumerated ( int content ) : System
content int The integer value to be contained in the /// this Asn1Enumerated object ///
return System

Asn1Enumerated() public method

Call this constructor to construct an Asn1Enumerated object from a long value.
public Asn1Enumerated ( long content ) : System
content long The long value to be contained in the /// this Asn1Enumerated object ///
return System

ToString() public method

Return a String representation of this Asn1Enumerated.
public ToString ( ) : System.String
return System.String

encode() public method

Call this method to encode the current instance into the specified output stream using the specified encoder object.
public encode ( Asn1Encoder enc, System out_Renamed ) : void
enc Asn1Encoder Encoder object to use when encoding self. /// ///
out_Renamed System
return void

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