BasicModuleGetMethodsByAttributeT Method |
Returns a collection of the methods decorated with the given attribute that the module contains.
Namespace:
MFiles.VAF.Module
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntaxpublic virtual IEnumerable<MethodInfo> GetMethodsByAttribute<T>(
bool unused = false
)
where T : Attribute
Public Overridable Function GetMethodsByAttribute(Of T As Attribute) (
Optional unused As Boolean = false
) As IEnumerable(Of MethodInfo)
public:
generic<typename T>
where T : Attribute
virtual 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:
IEnumerableMethodInfoA collection of methods or an empty collection if the module is not enabled.
Implements
IMethodSourceGetMethodsByAttributeT(Boolean)
See Also