Method HasRequiredComponent
HasRequiredComponent(BuildContext, Type)
Determine if a required Type component is stored in BuildConfiguration. The component Type must exist in the RequiredComponents list.
Declaration
public bool HasRequiredComponent(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 | 
|---|---|
| bool | true if the required component type is found, false otherwise.  | 
    
HasRequiredComponent<T>(BuildContext)
Determine if a required T component is stored in BuildConfiguration.
The component Type must exist in the RequiredComponents list.
Declaration
public bool HasRequiredComponent<T>(BuildContext context) where T : IBuildComponent
Parameters
| Type | Name | Description | 
|---|---|---|
| BuildContext | context | The BuildContext used by the execution of this BuildStep.  | 
    
Returns
| Type | Description | 
|---|---|
| bool | true if the required component type is found, false otherwise.  | 
    
Type Parameters
| Name | Description | 
|---|---|
| T | Type of the required component.  |