C# Class MongoDB.Bson.IO.BsonReaderSettings

Datei anzeigen Open project: CloudMetal/mongo-csharp-driver Class Usage Examples

Public Methods

Method Description
Clone ( ) : BsonReaderSettings

Creates a clone of the settings.

Freeze ( ) : BsonReaderSettings

Freezes the settings.

FrozenCopy ( ) : BsonReaderSettings

Returns a frozen copy of the settings.

Protected Methods

Method Description
BsonReaderSettings ( ) : System

Initializes a new instance of the BsonReaderSettings class.

BsonReaderSettings ( GuidRepresentation guidRepresentation ) : System

Initializes a new instance of the BsonReaderSettings class.

CloneImplementation ( ) : BsonReaderSettings

Creates a clone of the settings.

ThrowFrozenException ( ) : void

Throws an InvalidOperationException when an attempt is made to change a setting after the settings are frozen.

Method Details

BsonReaderSettings() protected method

Initializes a new instance of the BsonReaderSettings class.
protected BsonReaderSettings ( ) : System
return System

BsonReaderSettings() protected method

Initializes a new instance of the BsonReaderSettings class.
protected BsonReaderSettings ( GuidRepresentation guidRepresentation ) : System
guidRepresentation GuidRepresentation The representation for Guids.
return System

Clone() public method

Creates a clone of the settings.
public Clone ( ) : BsonReaderSettings
return BsonReaderSettings

CloneImplementation() protected abstract method

Creates a clone of the settings.
protected abstract CloneImplementation ( ) : BsonReaderSettings
return BsonReaderSettings

Freeze() public method

Freezes the settings.
public Freeze ( ) : BsonReaderSettings
return BsonReaderSettings

FrozenCopy() public method

Returns a frozen copy of the settings.
public FrozenCopy ( ) : BsonReaderSettings
return BsonReaderSettings

ThrowFrozenException() protected method

Throws an InvalidOperationException when an attempt is made to change a setting after the settings are frozen.
protected ThrowFrozenException ( ) : void
return void