Registers a component in the component catalog.
Declaring type: IComponentCatalogExtensions
Namespace: Zyan.Communication
Assembly: Zyan.Communication
Collapse/Expand Syntax
C#
public static void RegisterComponent<I, T> (
        IComponentCatalog catalog,
        ActivationType activationType,
        Action<object> cleanUpHandler
) 
Type Parameters
I
Interface type of the component
T
Implementation type of the component
Parameters
catalog
IComponentCatalog instance
activationType
Activation type (SingleCall/Singleton)
cleanUpHandler
Delegate for external clean up method