Method HasComponent
HasComponent(Type)
Determine if a Type component is stored in this container or its dependencies.
Declaration
public bool HasComponent(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | Type of the component. |
Returns
Type | Description |
---|---|
bool |
HasComponent<T>()
Determine if a T
component is stored in this container or its dependencies.
Declaration
public bool HasComponent<T>() where T : TComponent
Returns
Type | Description |
---|---|
bool |
Type Parameters
Name | Description |
---|---|
T | Type of the component. |