Table of Contents

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 abstract IMessageEncoder GetEncoder(IMessageEncoderFactory encoderFactory)

Parameters

encoderFactory IMessageEncoderFactory

The encoder factory.

Returns

IMessageEncoder

A message encoder.