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