VaultApplicationBaseRegisterHandlersT Method |
Generic method for collecting all methods from the given source that are decorated with the specified attribute type.
Namespace:
MFiles.VAF
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntaxprotected void RegisterHandlers<T>(
IMethodSource source,
Action<MethodInfo, Object, Vault> registerAction,
Vault vault
)
where T : Attribute
Protected Sub RegisterHandlers(Of T As Attribute) (
source As IMethodSource,
registerAction As Action(Of MethodInfo, Object, Vault),
vault As Vault
)
protected:
generic<typename T>
where T : Attribute
void RegisterHandlers(
IMethodSource^ source,
Action<MethodInfo^, Object^, Vault^>^ registerAction,
Vault^ vault
)
Parameters
- source
- Type: MFiles.VAF.CommonIMethodSource
The object that is being searched for the methods. - registerAction
- Type: SystemActionMethodInfo, Object, Vault
The action that is executed for all the found methods. - vault
- Type: Vault
The vault object.
Type Parameters
- T
- The attribute type that is being searched.
See Also