Rocket.Surgery.Conventions Namespace

Class Types

Class Summary
AfterConventionAttribute An attribute that ensures the convention runs after the given IConvention
AppMetricsHostBuilderExtensions AppMetricsHostBuilderExtensions.
AspNetCoreMetricsHostBuilderExtensions AspNetCoreMetricsHostBuilderExtensions.
AutoMapperHostBuilderExtensions AutoMapperHostBuilderExtensions.
BeforeConventionAttribute An attribute that ensures the convention runs before the given IConvention
CommandLineHostBuilderExtensions Helper method for working with IConventionHostBuilder
Composer A static composer that makes it easy to compose a context.
ConfigHostBuilderExtensions Helper method for working with Microsoft.Extensions.Configuration.IConfigurationBuilder
ConfigurationHostBuilderExtensions Helper method for working with IConventionHostBuilder
ConventionAttribute An attribute that defines a convention for this entire assembly The type attached to the convention must implement IConvention but may also implement other interfaces Implements the System.Attribute
ConventionBuilder<TBuilder, TConvention, TDelegate> ConventionBuilder. Implements the ConventionContainerBuilder<TBuilder, TConvention, TDelegate> Implements the IConventionBuilder<TBuilder, TConvention, TDelegate>
ConventionComposer Convention base compose, that calls all methods on register. Implements the IConventionComposer<TContext, TContribution, TDelegate>
ConventionComposer<TContext, TContribution, TDelegate> Convention base compose, that calls all methods on register. Implements the IConventionComposer<TContext, TContribution, TDelegate>
ConventionComposerExtensions ConventionComposerExtensions.
ConventionContainerBuilder<TBuilder, TConvention, TDelegate> ConventionContainerBuilder. Implements the IConventionContainer<TBuilder, TConvention, TDelegate>
ConventionContext Base convention context that allos for stashing items in index keys Implements the IConventionContext
ConventionContextExtensions Base convention extensions
ConventionHostBuilder<TSelf> ConventionHostBuilder. Implements the IConventionHostBuilder
ConventionHostBuilderExtensions Base convention extensions
DependencyDirection Defines the dependency direction of the given type
DependentOfConventionAttribute An attribute that ensures the convention runs before the given IConvention
DependsOnConventionAttribute An attribute that ensures the convention runs after the given IConvention
DiagnosticListenerLoggingAdapter DiagnosticListenerLoggingAdapter.
DiagnosticLogger DiagnosticLogger. Implements the Microsoft.Extensions.Logging.ILogger
FluentValidationHostBuilderExtensions FluentValidationHostBuilderExtensions.
FluentValidationHostBuilderExtensions FluentValidationHostBuilderExtensions.
HostingConventionExtensions Helper method for working with IConventionHostBuilder
HostingMetricsHostBuilderExtensions HostingMetricsHostBuilderExtensions.
HostType The underlying host type (currently only checked for test host) This is so that conventions can avoid adding behaviors that might cause issues with unit testing such as writing to the console or debug pipes, or ensuring that something is configured in a correct way for testing. Careful consideration is needed to make sure that your system doesn't behave extremely differently in a live scenario vs a testing scenario
LiveConventionAttribute Defines this convention as one that only runs during live usage to avoid unit tests
LoggingHostBuilderExtensions Helper method for working with IConventionHostBuilder
MartenAspNetCoreConventionHostExtensions MartenAspNetCoreConventionHostExtensions.
MartenFunctionsUnitOfWorkConventionHostExtensions MartenFunctionsUnitOfWorkConventionHostExtensions.
MartenHostBuilderExtensions LoggingExtensions.
MediatRHostBuilderExtensions MediatRHostBuilderExtensions.
OperationalMediatRBuilderExtensions FluentValidationHostBuilderExtensions.
RocketEnvironment RocketEnvironment. Implements the IRocketEnvironment
RocketEnvironmentExtensions Extension methods for IRocketEnvironment.
RocketEnvironments Rocket Environments.
SerilogAbstractionsHostBuilderExtensions Helper method for working with IConventionHostBuilder
SerilogHostBuilderExtensions SerilogHostBuilderExtensions.
ServiceProviderDictionary ServiceProviderDictionary. Implements the IServiceProviderDictionary
ServicesHostBuilderExtensions Helper method for working with IConventionHostBuilder
SwashbuckleBuilderExtensions FluentValidationHostBuilderExtensions.
SwashbuckleNewtonsoftJsonBuilderExtensions FluentValidationHostBuilderExtensions.
UnitTestConventionAttribute Defines this convention as one that only runs during a unit test run
WebJobsHostBuilderExtensions Helper method for working with IConventionHostBuilder

Interface Types

Interface Summary
IConvention A marker interface to indicate a type is a convention
IConvention<TContext> 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
IConventionBuilder<TBuilder, TConvention, TDelegate> IConventionBuilder Implements the IConventionContainer<TBuilder, TConvention, TDelegate>
IConventionComposer Takes a list of conventions and composes them with the given context Implements the IConvention<TContext>
IConventionComposer<TContext, TContribution, TDelegate> A composer that allows registration of delegates and interfaces that implement an interface like the delegate Implements the IConvention<TContext>
IConventionContainer<TBuilder, TConvention, TDelegate> IConventionContainer
IConventionContext The base context marker interface to define this as a context
IConventionDependency Ensures the convention runs after the given IConvention
IConventionHostBuilder IConventionHostBuilder
IRocketEnvironment IRocketEnvironment
IServiceProviderDictionary IServiceProviderDictionary Implements the System.Collections.Generic.IDictionary`2 Implements the System.IServiceProvider

Namespaces