Method GetComponents
GetComponents()
Get a flatten list of all components recursively from this container and its dependencies.
Declaration
public IEnumerable<TComponent> GetComponents()
Returns
Type | Description |
---|---|
IEnumerable<TComponent> | List of components. |
GetComponents(Type)
Get a flatten list of all components recursively from this container and its dependencies, that matches Type.
Declaration
public IEnumerable<TComponent> GetComponents(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type |
Returns
Type | Description |
---|---|
IEnumerable<TComponent> | List of components. |
GetComponents<T>()
Get a flatten list of all components recursively from this container and its dependencies, that matches T
.
Declaration
public IEnumerable<T> GetComponents<T>() where T : TComponent
Returns
Type | Description |
---|---|
IEnumerable<T> | List of components. |
Type Parameters
Name | Description |
---|---|
T | Type of the components. |