Method HasComponent
HasComponent(Type)
Determine if a component exist in this container or dependencies recursively.
Declaration
public bool HasComponent(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Type |
Description |
bool |
true if the component is found, false otherwise.
|
HasComponent<T>()
Determine if a component exist in this container or dependencies recursively.
Declaration
public bool HasComponent<T>() where T : TComponent
Returns
Type |
Description |
bool |
true if the component is found, false otherwise.
|
Type Parameters
Name |
Description |
T |
The component type.
|