Summary
IAppMetricsConventionContext
Implements the
IConventionContext
- Assembly
- Rocket
.Surgery .Extensions .App .Metrics .Abstractions .dll - Namespace
- Rocket
.Surgery .Extensions .App .Metrics - Interfaces
- Implementing Types
graph BT
Type-.->Interface0["IConventionContext"]
click Interface0 "/api/Rocket.Surgery.Conventions/IConventionContext"
Type["IAppMetricsConventionContext"]
class Type type-node
Implementing0["AppMetricsBuilder"]-.->Type
click Implementing0 "/api/Rocket.Surgery.Extensions.App.Metrics/AppMetricsBuilder"
Syntax
public interface IAppMetricsConventionContext : IConventionContext
Attributes
Type | Description |
---|---|
Nullable |
Properties
Name | Value | Summary |
---|---|---|
Assembly |
I |
Gets the assembly candidate finder.
|
AssemblyProvider | IAssemblyProvider |
Gets the assembly provider.
|
Configuration | IConfiguration |
Gets the configuration.
|
Environment | IRocketEnvironment |
The environment that this convention is running
Based on IHostEnvironment / IHostingEnvironment
|
HealthBuilder | IHealthBuilder |
Gets the health builder.
|
MetricsBuilder | IMetricsBuilder |
Gets the metrics builder.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Get |
T |
Get a value by key from the context
|
Get |
T |
Get a value by type from the context
|
GetOrAdd |
T |
Get a value by key from the context
|
GetOrAdd |
T |
Get a value by key from the context
|
IsUnitTestHost |
bool |
Check if this is a test host (to allow conventions to behave differently during unit tests)
|
Set |
void |
Get a value by type from the context
|
Set |
void |
Get a value by type from the context
|
SetBackingValue |
T |
Sets the backing value.
From ValueExtensions
|
With |
TBuilder |
Adds the specified dictionary to the provided dictionary.
|