ContextualTargetingFilter Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a targeting contextual feature filter.
public ContextualTargetingFilter(Microsoft.Extensions.Options.IOptions<Microsoft.FeatureManagement.FeatureFilters.TargetingEvaluationOptions> options = default, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory = default);
new Microsoft.FeatureManagement.FeatureFilters.ContextualTargetingFilter : Microsoft.Extensions.Options.IOptions<Microsoft.FeatureManagement.FeatureFilters.TargetingEvaluationOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.FeatureManagement.FeatureFilters.ContextualTargetingFilter
Public Sub New (Optional options As IOptions(Of TargetingEvaluationOptions) = Nothing, Optional loggerFactory As ILoggerFactory = Nothing)
Parameters
- options
- IOptions<TargetingEvaluationOptions>
Options controlling the behavior of the targeting evaluation performed by the filter.
- loggerFactory
- ILoggerFactory
A logger factory for creating loggers.