Summary
AutofacBuilder.
Implements the
ConventionBuilder<TBuilder, TConvention, TDelegate>
Implements the IAutofacBuilder
Implements the IServicesBuilder
Implements the IAutofacConventionContext
- Assembly
- Rocket
.Surgery .Extensions .Autofac .dll - Namespace
- Rocket
.Surgery .Extensions .Autofac - Interfaces
-
- IAutofacBuilder
- IConventionBuilder
<IAutofacBuilder, IAutofacConvention, Autofac Convention >Delegate - IConventionContainer
<IAutofacBuilder, IAutofacConvention, Autofac Convention >Delegate - IServicesBuilder
- IConventionBuilder
<IServicesBuilder, IServiceConvention, Service Convention >Delegate - IConventionContainer
<IServicesBuilder, IServiceConvention, Service Convention >Delegate - I
Service Convention Context - I
Autofac Convention Context - IConventionContext
- Base Types
graph BT
Type-->Base0["ConventionBuilder<IAutofacBuilder, IAutofacConvention, AutofacConventionDelegate>"]
Base0-->Base1["ConventionContainerBuilder<IAutofacBuilder, IAutofacConvention, AutofacConventionDelegate>"]
Base1-->Base2["Object"]
Type-.->Interface0["IAutofacBuilder"]
click Interface0 "/api/Rocket.Surgery.Extensions.Autofac/IAutofacBuilder"
Type-.->Interface1["IConventionBuilder<IAutofacBuilder, IAutofacConvention, AutofacConventionDelegate>"]
Type-.->Interface2["IConventionContainer<IAutofacBuilder, IAutofacConvention, AutofacConventionDelegate>"]
Type-.->Interface3["IServicesBuilder"]
click Interface3 "/api/Rocket.Surgery.Extensions.DependencyInjection/IServicesBuilder"
Type-.->Interface4["IConventionBuilder<IServicesBuilder, IServiceConvention, ServiceConventionDelegate>"]
Type-.->Interface5["IConventionContainer<IServicesBuilder, IServiceConvention, ServiceConventionDelegate>"]
Type-.->Interface6["IServiceConventionContext"]
click Interface6 "/api/Rocket.Surgery.Extensions.DependencyInjection/IServiceConventionContext"
Type-.->Interface7["IAutofacConventionContext"]
click Interface7 "/api/Rocket.Surgery.Extensions.Autofac/IAutofacConventionContext"
Type-.->Interface8["IConventionContext"]
click Interface8 "/api/Rocket.Surgery.Conventions/IConventionContext"
Type["AutofacBuilder"]
class Type type-node
Syntax
public class AutofacBuilder :
ConventionBuilder<IAutofacBuilder, IAutofacConvention, AutofacConventionDelegate>,
IAutofacBuilder,
IConventionBuilder<IAutofacBuilder, IAutofacConvention, AutofacConventionDelegate>,
IConventionContainer<IAutofacBuilder, IAutofacConvention, AutofacConventionDelegate>,
IServicesBuilder,
IConventionBuilder<IServicesBuilder, IServiceConvention, ServiceConventionDelegate>,
IConventionContainer<IServicesBuilder, IServiceConvention, ServiceConventionDelegate>,
IServiceConventionContext, IAutofacConventionContext, IConventionContext
Attributes
Type | Description |
---|---|
Nullable |
|
NullableAttribute |
Constructors
Name | Summary |
---|---|
AutofacBuilder |
Initializes a new instance of the AutofacBuilder class.
|
Properties
Name | Value | Summary |
---|---|---|
Configuration | IConfiguration |
Gets the configuration.
|
Environment | IRocketEnvironment |
The environment that this convention is running
Based on IHostEnvironment / IHostingEnvironment
|
Logger | ILogger |
A logger that is configured to work with each convention item
|
OnBuild | IObservable |
Gets the on build.
|
OnContainerBuild | IObservable |
Gets the on container build.
|
Services | IServiceCollection |
Gets the services.
|
Methods
Name | Value | Summary |
---|---|---|
Build |
IContainer |
Builds this instance.
|
ConfigureContainer |
I |
Configures the container.
|
Extension Methods
Name | Value | Summary |
---|---|---|
SetBackingValue |
T |
Sets the backing value.
From ValueExtensions
|
With |
TBuilder |
Adds the specified dictionary to the provided dictionary.
|