Method GetEncoder
- Namespace
- MongoDB.Driver.Core.WireProtocol.Messages
- Assembly
- MongoDB.Driver.Core.dll
GetEncoder(IMessageEncoderFactory)
Gets an encoder for the message from an encoder factory.
public override IMessageEncoder GetEncoder(IMessageEncoderFactory encoderFactory)
Parameters
encoderFactory
IMessageEncoderFactoryThe encoder factory.
Returns
- IMessageEncoder
A message encoder.