TimeWindowFilter.EvaluateAsync(FeatureFilterEvaluationContext) Method
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.
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
True if the feature is enabled, false otherwise.
Implements
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET