MetricsBuilder Class

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
Base Types
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
NullableContextAttribute
NullableAttribute
PublicAPIAttribute

Constructors

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

See Also