Returns true if there is a component registered with the given component id and it has not been disabled.

Namespace:  Gallio.Runtime.Extensibility
Assembly:  Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
bool HasComponent(
	string componentId
)
Visual Basic (Declaration)
Function HasComponent ( _
	componentId As String _
) As Boolean

Parameters

componentId
Type: System..::.String
The component id.

Return Value

True if there is a component registered with the given component id.

Remarks

When this method returns true it does not guarantee that the component can actually be resolved without error.

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionThrown if componentId is null.

See Also