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

Inheritance: Asn1Object
Mostrar archivo Open project: EventStore/csharp-ldap Class Usage Examples

Public Properties

Property Type Description
ID Asn1Identifier

Public Methods

Method Description
Asn1Boolean ( bool content ) : System

Call this constructor to construct an Asn1Boolean object from a boolean value.

ToString ( ) : System.String

Returns a String representation of this Asn1Boolean object.

booleanValue ( ) : bool

Returns the content of this Asn1Boolean as a boolean.

encode ( Asn1Encoder enc, System out_Renamed ) : void

Encode the current instance into the specified output stream using the specified encoder object.

Private Methods

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

Method Details

Asn1Boolean() public method

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

ToString() public method

Returns a String representation of this Asn1Boolean object.
public ToString ( ) : System.String
return System.String

booleanValue() public method

Returns the content of this Asn1Boolean as a boolean.
public booleanValue ( ) : bool
return bool

encode() public method

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