ConventionTestHost Class

Summary

Class ConventionTestHostBuilder. Implements the ConventionHostBuilder<TSelf>
graph BT Type-->Base0["ConventionHostBuilder<ConventionTestHost>"] Base0-->Base1["Object"] Type-.->Interface0["IConventionHostBuilder"] click Interface0 "/api/Rocket.Surgery.Conventions/IConventionHostBuilder" Type["ConventionTestHost"] class Type type-node

Syntax

public class ConventionTestHost : ConventionHostBuilder<ConventionTestHost>, IConventionHostBuilder

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Methods

Name Value Summary
Build() ValueTuple<IConfigurationRoot, IServiceProvider>
Build the configuration and service provider based on the input environment.
ExcludeConventionAttributes() ConventionTestHost
Use the BasicConventionScanner to not automatically load conventions from attributes.
IncludeConventionAttributes() ConventionTestHost

Use the SimpleConventionScanner to automatically load conventions from attributes.

This is the default

Parse() ValueTuple<IConfigurationRoot, IServiceCollection>
Build the configuration and populate the service collection based on the input environment.

Extension Methods

See Also