ConditionBaseAttribute.GroupName Property
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.
Gets the group name for this attribute. This is relevant when multiple attributes that inherit ConditionBaseAttribute are present. The ShouldRun values of attributes in the same group are "OR"ed together. While the value from different groups is "AND"ed together. In other words, a test will be ignored if any group has all its ShouldRun values as false.
public abstract string GroupName { get; }
member this.GroupName : string
Public MustOverride ReadOnly Property GroupName As String
Property Value
Remarks
Usually, you can use nameof
to return the group name.