FeatureTagHelper 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 feature tag helper.
public FeatureTagHelper(Microsoft.FeatureManagement.IFeatureManagerSnapshot featureManager, Microsoft.FeatureManagement.IVariantFeatureManagerSnapshot variantFeatureManager);
new Microsoft.FeatureManagement.Mvc.TagHelpers.FeatureTagHelper : Microsoft.FeatureManagement.IFeatureManagerSnapshot * Microsoft.FeatureManagement.IVariantFeatureManagerSnapshot -> Microsoft.FeatureManagement.Mvc.TagHelpers.FeatureTagHelper
Public Sub New (featureManager As IFeatureManagerSnapshot, variantFeatureManager As IVariantFeatureManagerSnapshot)
Parameters
- featureManager
- IFeatureManagerSnapshot
The feature manager snapshot to use to evaluate feature state.
- variantFeatureManager
- IVariantFeatureManagerSnapshot
The variant feature manager snapshot to use to evaluate feature state.