TimeWindowFilter.EvaluateAsync(FeatureFilterEvaluationContext) Method

Definition

Evaluates whether a feature is enabled based on a configurable time window.

public System.Threading.Tasks.Task<bool> EvaluateAsync (Microsoft.FeatureManagement.FeatureFilterEvaluationContext context);
abstract member EvaluateAsync : Microsoft.FeatureManagement.FeatureFilterEvaluationContext -> System.Threading.Tasks.Task<bool>
override this.EvaluateAsync : Microsoft.FeatureManagement.FeatureFilterEvaluationContext -> System.Threading.Tasks.Task<bool>
Public Function EvaluateAsync (context As FeatureFilterEvaluationContext) As Task(Of Boolean)

Parameters

context
FeatureFilterEvaluationContext

The feature evaluation context.

Returns

System.Threading.Tasks.Task<System.Boolean>

True if the feature is enabled, false otherwise.

Implements

Applies to