AppMetricsBuilder Class

Summary

Logging Builder Implements the ConventionBuilder<TBuilder, TConvention, TDelegate> Implements the IAppMetricsBuilder Implements the IAppMetricsConvention Implements the IAppMetricsConventionContext
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
NullableContextAttribute
NullableAttribute

Constructors

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<IMetricsRoot, IHealthRoot>
Builds this instance.

Extension Methods

See Also