Click or drag to resize

ICompressorSourceGet Method

Gets or creates a compressor based on the compressor type.

Namespace:  MongoDB.Driver.Core.Compression
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
ICompressor Get(
	CompressorType compressorType
)

Parameters

compressorType
Type: MongoDB.Driver.Core.CompressionCompressorType
The compressor type.

Return Value

Type: ICompressor
The compressor.
See Also