Summary
A default interface that can be used to create a convention with a known context type
context is used to house all the data that the convention requires to do it's job
This can be things like a service collection, container builder, logger, etc.
Implements the
IConvention
- Assembly
- Rocket
.Surgery .Conventions .Abstractions .dll - Namespace
- Rocket
.Surgery .Conventions - Interfaces
- Implementing Types
-
- Newtonsoft
Json Convention - Serilog
Extensions Convention - IServiceConvention
- MediatRConvention
- Asp
Net Core Metrics Convention - PostgresConvention
- Request
Logging Convention - Swashbuckle
Newtonsoft Json Convention - ConventionComposer
<TContext, TContribution, TDelegate> - Serilog
Enrich Environment Logging Convention - Serilog
Hosting Convention - Hosting
Metrics Convention - AppMetricsConvention
- ISerilogConvention
- Fluent
Validation Mediat R Convention - Marten
Middleware Unit Of Work Convention - I
Configuration Convention - Serilog
Debug Logging Convention - Marten
Functions Unit Of Work Convention - Swashbuckle
Convention - ILoggingConvention
- I
App Metrics Convention - AzureiteConvention
- Serilog
Enrich Logging Convention - I
Command Line Convention - AutoMapperConvention
- Fluent
Validation Convention - NodaTimeConvention
- Serilog
Read From Configuration Convention - Asp
Net Core Fluent Validation Convention - IWebJobsConvention
- IHostingConvention
- Docker
Compose Convention - Environment
Logging Convention - Marten
Command Convention - Auto
Mapper Newtonsoft Json Convention - Serilog
Conditionally Async Logging Convention - Serilog
Console Logging Convention - System
Json Text Convention - Mediator
R Operations Convention - AspNetCoreConvention
- IConventionComposer
<TContext, TContribution, TDelegate> - IAutofacConvention
- MartenConvention
- Asp
Net Core Fluent Validation Newtonsoft Json Convention
- Newtonsoft
Syntax
public interface IConvention<in TContext> : IConvention where TContext : IConventionContext
Type Parameters
Name | Description |
---|---|
TContext | The convention type that contains all the values for this convention to work |
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.
|