IMethodSourceGetMethodsByAttributeT Method |
Returns a collection of methods decorated with the given attribute.
Namespace:
MFiles.VAF.Common
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
SyntaxIEnumerable<MethodInfo> GetMethodsByAttribute<T>(
bool unused = false
)
where T : Attribute
Function GetMethodsByAttribute(Of T As Attribute) (
Optional unused As Boolean = false
) As IEnumerable(Of MethodInfo)
generic<typename T>
where T : Attribute
IEnumerable<MethodInfo^>^ GetMethodsByAttribute(
bool unused = false
)
Parameters
- unused (Optional)
- Type: SystemBoolean
True to return unused handlers, false to return current used handlers.
Type Parameters
- T
Return Value
Type:
IEnumerableMethodInfo
See Also