Registeres a component instance in the component catalog.
Declaring type: IComponentCatalog
Namespace: Zyan.Communication
Assembly: Zyan.Communication
Collapse/Expand Syntax
C#
public abstract void RegisterComponent<I, T> (
        string uniqueName,
        T instance,
        Action<object> cleanUpHandler
) 
Type Parameters
I
Interface type of the component
T
Implementation type of the component
Parameters
uniqueName
Unique component name
instance
Component instance
cleanUpHandler
Delegate for external clean up method