Summary
SerilogExtensionsConvention.
Implements the
IServiceConvention
- Assembly
- Rocket
.Surgery .Extensions .Serilog .dll - Namespace
- Rocket
.Surgery .Extensions .Serilog .Conventions - Interfaces
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IServiceConvention"]
click Interface0 "/api/Rocket.Surgery.Extensions.DependencyInjection/IServiceConvention"
Type-.->Interface1["IConvention<IServiceConventionContext>"]
Type-.->Interface2["IConvention"]
click Interface2 "/api/Rocket.Surgery.Conventions/IConvention"
Type["SerilogExtensionsConvention"]
class Type type-node
Syntax
public class SerilogExtensionsConvention : IServiceConvention,
IConvention<IServiceConventionContext>, IConvention
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute | |
| Live |
Defines this convention as one that only runs during live usage to avoid unit tests |
Constructors
| Name | Summary |
|---|---|
| Serilog |
Initializes a new instance of the SerilogExtensionsConvention class.
|
Methods
| Name | Value | Summary |
|---|---|---|
| Register |
void |
Extension Methods
| Name | Value | Summary |
|---|---|---|
| SetBackingValue |
T |
Sets the backing value.
From ValueExtensions
|
| With |
TBuilder |
Adds the specified dictionary to the provided dictionary.
|
