Method IsComponentInherited
IsComponentInherited(Type)
Determine if a component type is inherited from a dependency. Throws if component type is not in UsedComponents list.
Declaration
public bool IsComponentInherited(Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | The component type. |
Returns
| Type | Description |
|---|---|
| bool | true if the component is inherited from dependency, false otherwise. |
IsComponentInherited<T>()
Determine if a component type is inherited from a dependency. Throws if component type is not in UsedComponents list.
Declaration
public bool IsComponentInherited<T>() where T : IBuildComponent
Returns
| Type | Description |
|---|---|
| bool | true if the component is inherited from dependency, false otherwise. |
Type Parameters
| Name | Description |
|---|---|
| T | The component type. |