MustHaveAttributeOfType(IEligibilityBuilder<IDeclaration>, Type)
Requires the target declaration to have an attribute of a given type.
Declaration
public static void MustHaveAttributeOfType(this IEligibilityBuilder<IDeclaration> eligibilityBuilder, Type attributeType)Parameters
| Type | Name | Description |
|---|---|---|
| IEligibilityBuilder<IDeclaration> | eligibilityBuilder | The eligibility builder for a declaration. |
| Type | attributeType | The attribute type to check for. |