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.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
ICompressor Get(
	CompressorType compressorType
)

Parameters

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

Return Value

Type: ICompressor
The compressor.
See Also