Registeres a component instance 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,
        T instance,
        Action<object> cleanUpHandler
) 
Type Parameters
I
Interface type of the component
T
Implementation type of the component
Parameters
catalog
IComponentCatalog instance
instance
Component instance
cleanUpHandler
Delegate for external clean up method