Method GetRequiredComponents
GetRequiredComponents(BuildContext)
Get all required components from BuildConfiguration.
Declaration
public IEnumerable<IBuildComponent> GetRequiredComponents(BuildContext context)
Parameters
Type | Name | Description |
---|---|---|
BuildContext | context | The BuildContext used by the execution of this BuildStep. |
Returns
Type | Description |
---|---|
IEnumerable<IBuildComponent> | List of required components. |
GetRequiredComponents(BuildContext, Type)
Get all required components from BuildConfiguration, that matches Type.
Declaration
public IEnumerable<IBuildComponent> GetRequiredComponents(BuildContext context, Type type)
Parameters
Type | Name | Description |
---|---|---|
BuildContext | context | The BuildContext used by the execution of this BuildStep. |
Type | type | Type of the components. |
Returns
Type | Description |
---|---|
IEnumerable<IBuildComponent> | List of required components. |
GetRequiredComponents<T>(BuildContext)
Get all required components from BuildConfiguration, that matches T
.
Declaration
public IEnumerable<T> GetRequiredComponents<T>(BuildContext context) where T : IBuildComponent
Parameters
Type | Name | Description |
---|---|---|
BuildContext | context | The BuildContext used by the execution of this BuildStep. |
Returns
Type | Description |
---|---|
IEnumerable<T> | List of required components. |
Type Parameters
Name | Description |
---|---|
T | Type of the components. |