Class DelegateServerSelector
- 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<ServerDescription>, IEnumerable<ServerDescription>>)
 Initializes a new instance of the DelegateServerSelector class.
Methods
- SelectServers(ClusterDescription, IEnumerable<ServerDescription>)
 Selects the servers.
- ToString()
 Returns a string that represents the current object.