Method GetRequiredComponent
GetRequiredComponent(BuildContext, Type)
Get the value of a required Type component from BuildConfiguration. The component Type must exist in the RequiredComponents list.
Declaration
public IBuildComponent GetRequiredComponent(BuildContext context, Type type)
Parameters
| Type | Name | Description | 
|---|---|---|
| BuildContext | context | The BuildContext used by the execution of this BuildStep.  | 
    
| Type | type | Type of the required component.  | 
    
Returns
| Type | Description | 
|---|---|
| IBuildComponent | The value of the required component.  | 
    
GetRequiredComponent<T>(BuildContext)
Get the value of a required T component from BuildConfiguration.
The component Type must exist in the RequiredComponents list.
Declaration
public T GetRequiredComponent<T>(BuildContext context) where T : IBuildComponent
Parameters
| Type | Name | Description | 
|---|---|---|
| BuildContext | context | The BuildContext used by the execution of this BuildStep.  | 
    
Returns
| Type | Description | 
|---|---|
| T | The value of the required component.  | 
    
Type Parameters
| Name | Description | 
|---|---|
| T | Type of the required component.  |