C# Class MongoDB.Bson.IO.BsonWriterSettings

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

Public Methods

Method Description
Clone ( ) : BsonWriterSettings

Creates a clone of the settings.

Freeze ( ) : BsonWriterSettings

Freezes the settings.

FrozenCopy ( ) : BsonWriterSettings

Returns a frozen copy of the settings.

Protected Methods

Method Description
BsonWriterSettings ( ) : System

Initializes a new instance of the BsonWriterSettings class.

BsonWriterSettings ( GuidRepresentation guidRepresentation ) : System

Initializes a new instance of the BsonWriterSettings class.

CloneImplementation ( ) : BsonWriterSettings

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

BsonWriterSettings() protected method

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

BsonWriterSettings() protected method

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

Clone() public method

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

CloneImplementation() protected abstract method

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

Freeze() public method

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

FrozenCopy() public method

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

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