Class EndPointServerSelector
- Namespace
- MongoDB.Driver.Core.Clusters.Server
Selectors
- Assembly
- MongoDB.Driver.Core.dll
Represents a selector that selects servers based on an end point.
- Inheritance
-
End
Point Server Selector
- Implements
- Inherited Members
Constructors
EndPointServerSelector(EndPoint)
Initializes a new instance of the End
Parameters
endPoint
EndPoint The end point.
Methods
SelectServers(ClusterDescription, IEnumerable<ServerDescription>)
Selects the servers.
public IEnumerable<ServerDescription> SelectServers(ClusterDescription cluster, IEnumerable<ServerDescription> servers)
Parameters
cluster
ClusterDescription The cluster.
servers
IEnumerable<ServerDescription >The servers.
Returns
- IEnumerable<Server
Description > The selected servers.