Method GetComponents
GetComponents()
Get all component values from all dependencies recursively.
Declaration
public IEnumerable<TComponent> GetComponents()
Returns
Type | Description |
---|---|
IEnumerable<TComponent> | Enumeration of component values. |
GetComponents(Type)
Get all component values from all dependencies recursively, that matches specified component type.
Declaration
public IEnumerable<TComponent> GetComponents(Type componentType)
Parameters
Type | Name | Description |
---|---|---|
Type | componentType | The component type. |
Returns
Type | Description |
---|---|
IEnumerable<TComponent> | Enumeration of component values. |
GetComponents<T>()
Get all component values from all dependencies recursively, that matches specified component type.
Declaration
public IEnumerable<T> GetComponents<T>() where T : TComponent
Returns
Type | Description |
---|---|
IEnumerable<T> | Enumeration of component values. |
Type Parameters
Name | Description |
---|---|
T | The component type. |