ReflectionHelperGetCustomAttributesOfTypeTA Method (IController) |
Returns all attributes of type TA on a
IController object
Namespace:
Crosser.Common.Utilities.Reflection
Assembly:
Crosser.Common (in Crosser.Common.dll) Version: 0.0.4
Syntax public static TA[] GetCustomAttributesOfType<TA>(
this IController controller
)
where TA : Attribute
Parameters
- controller
- Type: Crosser.Common.ServerIController
IController to discover the attribute on
Type Parameters
- TA
- The attribute type to find
Return Value
Type:
TAArray of TA
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IController. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also