RegistrationBuilderCreateRegistrationTLimit, TActivatorData, TSingleRegistrationStyle Method (IRegistrationBuilderTLimit, TActivatorData, TSingleRegistrationStyle) |
Namespace: Autofac.Builder
public static IComponentRegistration CreateRegistration<TLimit, TActivatorData, TSingleRegistrationStyle>( this IRegistrationBuilder<TLimit, TActivatorData, TSingleRegistrationStyle> builder ) where TActivatorData : IConcreteActivatorData where TSingleRegistrationStyle : SingleRegistrationStyle
[Missing <typeparam name="TLimit"/> documentation for "M:Autofac.Builder.RegistrationBuilder.CreateRegistration``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2})"]
[Missing <typeparam name="TActivatorData"/> documentation for "M:Autofac.Builder.RegistrationBuilder.CreateRegistration``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2})"]
[Missing <typeparam name="TSingleRegistrationStyle"/> documentation for "M:Autofac.Builder.RegistrationBuilder.CreateRegistration``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2})"]
Exception | Condition |
---|---|
ArgumentNullException | Thrown if builder is . |
var registration = RegistrationBuilder.ForType<Foo>().CreateRegistration();