DelegateServerSelector Constructor |
Namespace:
MongoDB.Driver.Core.Clusters.ServerSelectors
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax public DelegateServerSelector(
Func<ClusterDescription, IEnumerable<ServerDescription>, IEnumerable<ServerDescription>> selector
)
Public Sub New (
selector As Func(Of ClusterDescription, IEnumerable(Of ServerDescription), IEnumerable(Of ServerDescription))
)
new :
selector : Func<ClusterDescription, IEnumerable<ServerDescription>, IEnumerable<ServerDescription>> -> DelegateServerSelector
Parameters
- selector
- Type: SystemFuncClusterDescription, IEnumerableServerDescription, IEnumerableServerDescription
The selector.
See Also