You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Microsoft.FeatureManagement.AspNetCore/FeatureGateAttribute.cs
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -12,13 +12,13 @@
12
12
namespaceMicrosoft.FeatureManagement.Mvc
13
13
{
14
14
/// <summary>
15
-
/// An attribute that can be placed on MVC actionsto require all or any of a set of features to be enabled. If none of the feature are enabled the registered <see cref="IDisabledFeaturesHandler"/> will be invoked.
15
+
/// An attribute that can be placed on MVC controllers, controller actions, or Razor pages to require all or any of a set of features to be enabled.
@@ -27,7 +27,7 @@ public FeatureGateAttribute(params string[] features)
27
27
}
28
28
29
29
/// <summary>
30
-
/// Creates an attribute that can be used to gate actions. The gate can be configured to require all or any of the provided feature(s) to pass.
30
+
/// Creates an attribute that can be used to gate actions or pages. The gate can be configured to require all or any of the provided feature(s) to pass.
31
31
/// </summary>
32
32
/// <param name="requirementType">Specifies whether all or any of the provided features should be enabled in order to pass.</param>
33
33
/// <param name="features">The names of the features that the attribute will represent.</param>
@@ -44,7 +44,7 @@ public FeatureGateAttribute(RequirementType requirementType, params string[] fea
44
44
}
45
45
46
46
/// <summary>
47
-
/// Creates an attribute that will gate actions unless all the provided feature(s) are enabled.
47
+
/// Creates an attribute that will gate actions or pages unless all the provided feature(s) are enabled.
48
48
/// </summary>
49
49
/// <param name="features">A set of enums representing the features that the attribute will represent.</param>
@@ -53,7 +53,7 @@ public FeatureGateAttribute(params object[] features)
53
53
}
54
54
55
55
/// <summary>
56
-
/// Creates an attribute that can be used to gate actions. The gate can be configured to require all or any of the provided feature(s) to pass.
56
+
/// Creates an attribute that can be used to gate actions or pages. The gate can be configured to require all or any of the provided feature(s) to pass.
57
57
/// </summary>
58
58
/// <param name="requirementType">Specifies whether all or any of the provided features should be enabled in order to pass.</param>
59
59
/// <param name="features">A set of enums representing the features that the attribute will represent.</param>
0 commit comments