Creates a component registration.
Namespace:
Gallio.Runtime.ExtensibilityAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public ComponentRegistration( IPluginDescriptor plugin, IServiceDescriptor service, string componentId, TypeName componentTypeName ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ plugin As IPluginDescriptor, _ service As IServiceDescriptor, _ componentId As String, _ componentTypeName As TypeName _ ) |
Parameters
- plugin
- Type: Gallio.Runtime.Extensibility..::.IPluginDescriptor
The plugin to which the component will belong.
- service
- Type: Gallio.Runtime.Extensibility..::.IServiceDescriptor
The service implemented by the component.
- componentId
- Type: System..::.String
The component id.
- componentTypeName
- Type: Gallio.Common.Reflection..::.TypeName
The component type name, or null to use the default component type specified by the service.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | Thrown if plugin, service, componentId is null. |
