Method GetOptionalComponents
GetOptionalComponents(BuildContext)
Get all optional components from Build
Declaration
public IEnumerable<IBuildComponent> GetOptionalComponents(BuildContext context)
Parameters
Type | Name | Description |
---|---|---|
Build |
context | The Build |
Returns
Type | Description |
---|---|
IEnumerable<IBuild |
List of optional components. |
GetOptionalComponents(BuildContext, Type)
Get all optional components from Build
Declaration
public IEnumerable<IBuildComponent> GetOptionalComponents(BuildContext context, Type type)
Parameters
Type | Name | Description |
---|---|---|
Build |
context | The Build |
Type | type | Type of the components. |
Returns
Type | Description |
---|---|
IEnumerable<IBuild |
List of optional components. |
GetOptionalComponents<T>(BuildContext)
Get all optional components from BuildT
.
Optional component types not found in Build
Declaration
public IEnumerable<T> GetOptionalComponents<T>(BuildContext context)
Parameters
Type | Name | Description |
---|---|---|
Build |
context | The Build |
Returns
Type | Description |
---|---|
IEnumerable<T> | List of optional components. |
Type Parameters
Name | Description |
---|---|
T | Type of the components. |