MediatRHostBuilderExtensions.

UseMediatR(IConventionHostBuilder, MediatRServiceConfiguration) Method

Summary

Adds MediatR.

Syntax

public static IConventionHostBuilder UseMediatR(this IConventionHostBuilder builder, MediatRServiceConfiguration serviceConfig)

Parameters

Name Type Description
builder IConventionHostBuilder The builder.
serviceConfig MediatRServiceConfiguration The MediatR service configuration.

Return Value

Type Description
IConventionHostBuilder IConventionHostBuilder.