Поделиться через


ConditionBaseAttribute.GroupName Property

Definition

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.

Applies to