Table of Contents

Constructor DelegateServerSelector

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

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

Initializes a new instance of the DelegateServerSelector class.

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

Parameters

selector Func<ClusterDescription, IEnumerable<ServerDescription>, IEnumerable<ServerDescription>>

The selector.