IRocketWebJobsContext Interface

Summary

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

Syntax

public interface IRocketWebJobsContext : IConventionHostBuilder

Properties

Name Value Summary
Properties IDictionary<object, object>
Gets the properties.

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<IRocketWebJobsContext, TV>(Expression<Func<IRocketWebJobsContext, TV>>, TV) T
Sets the backing value.
UseAppMetrics(IMetricsBuilder, IHealthBuilder) IConventionHostBuilder
Uses the application metrics.
UseAutoMapper(AutoMapperOptions) IConventionHostBuilder
Uses AutoMapper.
UseDefaultAppMetrics() IConventionHostBuilder
Uses the default application metrics.
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
UseFluentValidation() IConventionHostBuilder
Adds fluent validation.
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.
UseSerilog(RocketSerilogOptions) IConventionHostBuilder
Uses the serilog.
UseSerilogRequestLogging() IConventionHostBuilder
Uses the serilog request logging.
UseSwashbuckle() IConventionHostBuilder
Adds fluent validation.
UseSwashbuckleNewtonsoftJson() IConventionHostBuilder
Adds fluent validation.
With<IRocketWebJobsContext, TKey, TField>(Dictionary<TKey, TField>, IDictionary<TKey, TField>) TBuilder
Adds the specified dictionary to the provided dictionary.
WithFluentValidationMediatR() IConventionHostBuilder
Adds fluent validation.

See Also