Method HasAttribute
HasAttribute<T>()
The caller must pass in an interface type that extends IAttribute.
Returns true
, if this AttributeSource contains the corrsponding Attribute.
Declaration
public bool HasAttribute<T>()
where T : IAttribute
Returns
Type | Description |
---|---|
System.Boolean |
Type Parameters
Name | Description |
---|---|
T |