Share via


ContextualTargetingFilter Constructor

Definition

Creates a targeting contextual feature filter.

public ContextualTargetingFilter (Microsoft.Extensions.Options.IOptions<Microsoft.FeatureManagement.FeatureFilters.TargetingEvaluationOptions> options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.FeatureManagement.FeatureFilters.ContextualTargetingFilter : Microsoft.Extensions.Options.IOptions<Microsoft.FeatureManagement.FeatureFilters.TargetingEvaluationOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.FeatureManagement.FeatureFilters.ContextualTargetingFilter
Public Sub New (options As IOptions(Of TargetingEvaluationOptions), loggerFactory As ILoggerFactory)

Parameters

options
IOptions<TargetingEvaluationOptions>

Options controlling the behavior of the targeting evaluation performed by the filter.

loggerFactory
ILoggerFactory

A logger factory for creating loggers.

Applies to