Method IsComponentOverridden
IsComponentOverridden(Type)
Determine if a component type overrides a dependency. Throws if component type is not in UsedComponents list.
Declaration
[Obsolete("IsComponentOverridden has been renamed to IsComponentOverriding. (RemovedAfter 2020-11-30)")]
public bool IsComponentOverridden(Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | The component type. |
Returns
| Type | Description |
|---|---|
| bool | true if the component overrides a dependency, false otherwise |
IsComponentOverridden<T>()
Determine if a component type overrides a dependency. Throws if component type is not in UsedComponents list.
Declaration
[Obsolete("IsComponentOverridden has been renamed to IsComponentOverriding. (RemovedAfter 2020-11-30)")]
public bool IsComponentOverridden<T>() where T : IBuildComponent
Returns
| Type | Description |
|---|---|
| bool | true if the component overrides a dependency, false otherwise |
Type Parameters
| Name | Description |
|---|---|
| T | The component type. |