Method RegisterStreamFactory
- Namespace
- MongoDB.Driver.Core.Configuration
- Assembly
- MongoDB.Driver.Core.dll
RegisterStreamFactory(Func<IStreamFactory, IStreamFactory>)
Registers a stream factory wrapper.
public ClusterBuilder RegisterStreamFactory(Func<IStreamFactory, IStreamFactory> wrapper)
Parameters
wrapper
Func<IStreamFactory, IStreamFactory>The stream factory wrapper.
Returns
- ClusterBuilder
A reconfigured cluster builder.