VaultApplicationBaseRegisterHandlersT Method

Generic method for collecting all methods from the given source that are decorated with the specified attribute type.

Definition

Namespace: MFiles.VAF
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
protected void RegisterHandlers<T>(
	IMethodSource source,
	Action<MethodInfo, Object, Vault> registerAction,
	Vault vault
)
where T : Attribute

Parameters

source  IMethodSource
The object that is being searched for the methods.
registerAction  ActionMethodInfo, Object, Vault
The action that is executed for all the found methods.
vault  Vault
The vault object.

Type Parameters

T
The attribute type that is being searched.

See Also