Table of Contents

Class DelegateServerSelector

Namespace
MongoDB.Driver.Core.Clusters.ServerSelectors
Assembly
MongoDB.Driver.Core.dll

Represents a server selector that wraps a delegate.

public class DelegateServerSelector : IServerSelector
Inheritance
DelegateServerSelector
Implements
Inherited Members

Constructors

DelegateServerSelector(Func<ClusterDescription, IEnumerable<ServerDescription>, IEnumerable<ServerDescription>>)

Initializes a new instance of the DelegateServerSelector class.

Methods

SelectServers(ClusterDescription, IEnumerable<ServerDescription>)

Selects the servers.

ToString()