Summary
Logging Builder
Implements the
ConventionBuilder<TBuilder, TConvention, TDelegate>
Implements the Rocket.Surgery.Extensions.Metrics.IMetricsBuilder
Implements the Rocket.Surgery.Extensions.Metrics.IMetricsConvention
Implements the Rocket.Surgery.Extensions.Metrics.IMetricsConventionContext
- Assembly
- Rocket
.Surgery .Extensions .Metrics .dll - Namespace
- Rocket
.Surgery .Extensions .Metrics - Interfaces
-
- IMetricsBuilder
- IConventionBuilder
<IMetricsBuilder, IMetricsConvention, Metrics Convention Delegate> - IConventionContainer
<IMetricsBuilder, IMetricsConvention, Metrics Convention Delegate> - I
Metrics Convention Context - IConventionContext
- Base Types
-
- Object
- Convention
Container Builder <IMetricsBuilder, IMetricsConvention, Metrics Convention Delegate> - ConventionBuilder
<IMetricsBuilder, IMetricsConvention, Metrics Convention Delegate>
graph BT
Type-->Base0["ConventionBuilder<IMetricsBuilder, IMetricsConvention, MetricsConventionDelegate>"]
Base0-->Base1["ConventionContainerBuilder<IMetricsBuilder, IMetricsConvention, MetricsConventionDelegate>"]
Base1-->Base2["Object"]
Type-.->Interface0["IMetricsBuilder"]
Type-.->Interface1["IConventionBuilder<IMetricsBuilder, IMetricsConvention, MetricsConventionDelegate>"]
Type-.->Interface2["IConventionContainer<IMetricsBuilder, IMetricsConvention, MetricsConventionDelegate>"]
Type-.->Interface3["IMetricsConventionContext"]
Type-.->Interface4["IConventionContext"]
click Interface4 "/api/Rocket.Surgery.Conventions/IConventionContext"
Type["MetricsBuilder"]
class Type type-node
Syntax
public class MetricsBuilder :
ConventionBuilder<IMetricsBuilder, IMetricsConvention, MetricsConventionDelegate>,
IMetricsBuilder,
IConventionBuilder<IMetricsBuilder, IMetricsConvention, MetricsConventionDelegate>,
IConventionContainer<IMetricsBuilder, IMetricsConvention, MetricsConventionDelegate>,
IMetricsConventionContext, IConventionContext
Attributes
Type | Description |
---|---|
Nullable |
|
NullableAttribute | |
PublicAPIAttribute |
Constructors
Name | Summary |
---|---|
MetricsBuilder |
Initializes a new instance of the MetricsBuilder class.
|
Properties
Name | Value | Summary |
---|---|---|
AppMetricsBuilder | IMetricsBuilder |
Gets the metrics builder.
|
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
|
Methods
Name | Value | Summary |
---|---|---|
Build |
void |
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.
|
See Also
ConventionBuilder<TBuilder, TConvention, TDelegate>
- Rocket.Surgery.Extensions.Metrics.IMetricsBuilder
- Rocket.Surgery.Extensions.Metrics.IMetricsConvention
- Rocket.Surgery.Extensions.Metrics.IMetricsConventionContext