create
Creates a ComponentRef from a component, with optionally the type of the component (by default set to ComponentKind.Generic).
Creates a ComponentRef from a C component, with optionally the type of the component (by default set to ComponentKind.Generic).