IRocketFunctionHostBuilder Interface

Summary

Interface IRocketFunctionHostBuilder Implements the IConventionHostBuilder
graph BT Type-.->Interface0["IConventionHostBuilder"] click Interface0 "/api/Rocket.Surgery.Conventions/IConventionHostBuilder" Type["IRocketFunctionHostBuilder"] class Type type-node

Syntax

public interface IRocketFunctionHostBuilder : IConventionHostBuilder

Attributes

Type Description
NullableContextAttribute

Properties

Name Value Summary
Builder IWebJobsBuilder
Gets the builder.
FunctionsAssembly Assembly
Gets the functions assembly.

Extension Methods

Name Value Summary
AddMartenUnitOfWorkFunctionFilter() IConventionHostBuilder
Adds the marten functions unit of work.
AddMartenUnitOfWorkMiddleware() IConventionHostBuilder
Adds the marten functions unit of work.
ConfigureCommandLine(CommandLineConventionDelegate) IConventionHostBuilder
Configure the commandline delegate to the convention scanner
ConfigureConfiguration(ConfigurationConventionDelegate) IConventionHostBuilder
Configure the configuration delegate to the convention scanner
ConfigureHosting(HostingConventionDelegate) IConventionHostBuilder
Configure the hosting delegate to the convention scanner
ConfigureLogging(LoggingConventionDelegate) IConventionHostBuilder
Configure the logging delegate to the convention scanner
ConfigureSerilog(SerilogConventionDelegate) IConventionHostBuilder
Configure the serilog delegate to the convention scanner
ConfigureServices(ServiceConventionDelegate) IConventionHostBuilder
Configure the services delegate to the convention scanner
ConfigureWebJobs(WebJobsConventionDelegate) IConventionHostBuilder
Configure the web jobs delegate to the convention scanner
Get<T>(string) T
Get a value by key from the context
Get<T>() T
Get a value by type from the context
GetOrAdd<T>(Func<T>) T
Get a value by key from the context
GetOrAdd<T>(string, Func<T>) 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<T>(string, T) void
Get a value by type from the context
Set<T>(T) void
Get a value by type from the context
SetBackingValue<IRocketFunctionHostBuilder, TV>(Expression<Func<IRocketFunctionHostBuilder, TV>>, TV) T
Sets the backing value.
UseAppDomain(AppDomain, DiagnosticSource) IRocketFunctionHostBuilder
Uses the application domain.
UseAppMetrics(IMetricsBuilder, IHealthBuilder) IConventionHostBuilder
Uses the application metrics.
UseAssemblies(IEnumerable<Assembly>, DiagnosticSource) IRocketFunctionHostBuilder
Uses the assemblies.
UseAssemblyCandidateFinder(IAssemblyCandidateFinder) IRocketFunctionHostBuilder
Uses the assembly candidate finder.
UseAssemblyProvider(IAssemblyProvider) IRocketFunctionHostBuilder
Uses the assembly provider.
UseAutoMapper(AutoMapperOptions) IConventionHostBuilder
Uses AutoMapper.
UseDefaultAppMetrics() IConventionHostBuilder
Uses the default application metrics.
UseDependencyContext(DependencyContext, DiagnosticSource) IRocketFunctionHostBuilder
Uses the dependency context.
UseDevelopmentAzurite(int, Action<AzureiteConvention>, string[]) IConventionHostBuilder
UseDevelopmentDockerCompose(string, Action<DockerComposeConvention>) IConventionHostBuilder
UseDevelopmentPostgres(int, string, string, TimeSpan, Action<PostgresConvention>) IConventionHostBuilder
UseDevelopmentPostgres(string, int, string, string, string, string[], TimeSpan, Action<PostgresConvention>) IConventionHostBuilder
UseDiagnosticLogging(Action<ILoggingBuilder>) IRocketFunctionHostBuilder
Uses the diagnostic logging.
UseDiagnosticSource(DiagnosticSource) IRocketFunctionHostBuilder
Uses the diagnostic source.
UseEnvironment(IRocketEnvironment) IRocketFunctionHostBuilder
Uses the environment.
UseFluentValidation() IConventionHostBuilder
Adds fluent validation.
UseFunctionsAssembly(Assembly) IRocketFunctionHostBuilder
Uses the functions assembly.
UseMarten(MartenOptions) IConventionHostBuilder
Uses marten.
UseMartenConnectionString(Func<NpgsqlConnection>) IConventionHostBuilder
Uses marten.
UseMartenConnectionString(Func<string>) IConventionHostBuilder
Uses marten.
UseMartenConnectionString(string) IConventionHostBuilder
Uses marten.
UseMartenLightweightTracking() IConventionHostBuilder
Uses marten.
UseMartenUnitOfWork() IConventionHostBuilder
Uses marten.
UseMartenWithDirtyTracking() IConventionHostBuilder
Uses marten.
UseMediatR(MediatRServiceConfiguration) IConventionHostBuilder
Adds MediatR.
UseMediatR() IConventionHostBuilder
Adds MediatR.
UseMediatROperations() IConventionHostBuilder
Adds fluent validation.
UseMetrics() IConventionHostBuilder
Uses the application metrics.
UseMetrics() IConventionHostBuilder
Uses the application metrics.
UseMetricsWithDefaults() IConventionHostBuilder
Uses the default application metrics.
UseMetricsWithDefaults() IConventionHostBuilder
Uses the default application metrics.
UseScanner(IConventionScanner) IRocketFunctionHostBuilder
Uses the scanner.
UseSerilog(RocketSerilogOptions) IConventionHostBuilder
Uses the serilog.
UseSerilogRequestLogging() IConventionHostBuilder
Uses the serilog request logging.
UseSwashbuckle() IConventionHostBuilder
Adds fluent validation.
UseSwashbuckleNewtonsoftJson() IConventionHostBuilder
Adds fluent validation.
With<IRocketFunctionHostBuilder, TKey, TField>(Dictionary<TKey, TField>, IDictionary<TKey, TField>) TBuilder
Adds the specified dictionary to the provided dictionary.
WithFluentValidationMediatR() IConventionHostBuilder
Adds fluent validation.

See Also