Summary
Logging Builder
Implements the
ConventionBuilder<TBuilder, TConvention, TDelegate>
Implements the IAppMetricsBuilder
Implements the IAppMetricsConvention
Implements the IAppMetricsConventionContext
- Assembly
- Rocket
.Surgery .Extensions .App .Metrics .dll - Namespace
- Rocket
.Surgery .Extensions .App .Metrics - Interfaces
- Base Types
graph BT
Type-->Base0["ConventionBuilder<IAppMetricsBuilder, IAppMetricsConvention, AppMetricsConventionDelegate>"]
Base0-->Base1["ConventionContainerBuilder<IAppMetricsBuilder, IAppMetricsConvention, AppMetricsConventionDelegate>"]
Base1-->Base2["Object"]
Type-.->Interface0["IAppMetricsBuilder"]
click Interface0 "/api/Rocket.Surgery.Extensions.App.Metrics/IAppMetricsBuilder"
Type-.->Interface1["IConventionBuilder<IAppMetricsBuilder, IAppMetricsConvention, AppMetricsConventionDelegate>"]
Type-.->Interface2["IConventionContainer<IAppMetricsBuilder, IAppMetricsConvention, AppMetricsConventionDelegate>"]
Type-.->Interface3["IAppMetricsConventionContext"]
click Interface3 "/api/Rocket.Surgery.Extensions.App.Metrics/IAppMetricsConventionContext"
Type-.->Interface4["IConventionContext"]
click Interface4 "/api/Rocket.Surgery.Conventions/IConventionContext"
Type["AppMetricsBuilder"]
class Type type-node
Syntax
public class AppMetricsBuilder :
ConventionBuilder<IAppMetricsBuilder, IAppMetricsConvention, AppMetricsConventionDelegate>,
IAppMetricsBuilder,
IConventionBuilder<IAppMetricsBuilder, IAppMetricsConvention, AppMetricsConventionDelegate>,
IConventionContainer<IAppMetricsBuilder, IAppMetricsConvention, AppMetricsConventionDelegate>,
IAppMetricsConventionContext, IConventionContext
Attributes
Type | Description |
---|---|
Nullable |
|
NullableAttribute |
Constructors
Name | Summary |
---|---|
AppMetricsBuilder |
Initializes a new instance of the AppMetricsBuilder class.
|
Properties
Name | Value | Summary |
---|---|---|
Configuration | IConfiguration |
Gets the configuration.
|
Environment | IRocketEnvironment |
The environment that this convention is running
Based on IHostEnvironment / IHostingEnvironment
|
HealthBuilder | IHealthBuilder |
Gets the health builder.
|
Logger | ILogger |
A logger that is configured to work with each convention item
|
MetricsBuilder | IMetricsBuilder |
Gets the metrics builder.
|
Methods
Name | Value | Summary |
---|---|---|
Build |
ValueTuple |
Builds this instance.
|
Extension Methods
Name | Value | Summary |
---|---|---|
SetBackingValue |
T |
Sets the backing value.
From ValueExtensions
|
With |
TBuilder |
Adds the specified dictionary to the provided dictionary.
|