Class DelegateServerSelector

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver.Core.Clusters.ServerSelectors

Assembly

MongoDB.Driver.dll

Represents a server selector that wraps a delegate.

public class DelegateServerSelector : IServerSelector

Inheritance

DelegateServerSelector

Implements

Inherited Members

Constructors

DelegateServerSelector(Func<ClusterDescription, IEnumerable, IEnumerable>)

Initializes a new instance of the DelegateServerSelector class.

Methods

SelectServers(ClusterDescription, IEnumerable)

Selects the servers.

ToString()

Returns a string that represents the current object.