/// <summary> /// Add a health check publisher elmah.io. /// </summary> /// <param name="builder">The <see cref="IHealthChecksBuilder"/>.</param> /// <param name="options">Options used to configure the elmah.io health check publisher.</param> /// <returns>The <see cref="IHealthChecksBuilder"/>.</returns></param> public static IHealthChecksBuilder AddElmahIoPublisher(this IHealthChecksBuilder builder, Action <ElmahIoPublisherOptions> options) { builder.AddElmahIoPublisher(); builder.Services.Configure(options); return(builder); }