RegistrationBuilderCreateRegistration Method (Guid, RegistrationData, IInstanceActivator, IResolvePipelineBuilder, Service, IComponentRegistration) |
Create an IComponentRegistration from data.
Namespace:
Autofac.Builder
Assembly:
Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax public static IComponentRegistration CreateRegistration(
Guid id,
RegistrationData data,
IInstanceActivator activator,
IResolvePipelineBuilder pipelineBuilder,
Service[] services,
IComponentRegistration target
)
Public Shared Function CreateRegistration (
id As Guid,
data As RegistrationData,
activator As IInstanceActivator,
pipelineBuilder As IResolvePipelineBuilder,
services As Service(),
target As IComponentRegistration
) As IComponentRegistration
Parameters
- id
- Type: SystemGuid
Id of the registration. - data
- Type: Autofac.BuilderRegistrationData
Registration data. - activator
- Type: Autofac.CoreIInstanceActivator
Activator. - pipelineBuilder
- Type: Autofac.Core.Resolving.PipelineIResolvePipelineBuilder
The component registration's resolve pipeline builder. - services
- Type: Autofac.CoreService
Services provided by the registration. - target
- Type: Autofac.CoreIComponentRegistration
Optional; target registration.
Return Value
Type:
IComponentRegistrationAn IComponentRegistration.
Exceptions See Also