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
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.
|
