Table of Contents

Class NotificationRegistration

Namespace
Quilt4Net.Toolkit
Assembly
Quilt4Net.Toolkit.dll

Registration for the Quilt4Net notification client.

public static class NotificationRegistration
Inheritance
NotificationRegistration
Inherited Members

Methods

AddQuilt4NetNotifications(IServiceCollection, IConfiguration, Action<NotificationOptions>)

Registers INotificationClient, which sends notifications to Quilt4Net.

public static void AddQuilt4NetNotifications(this IServiceCollection services, IConfiguration configuration, Action<NotificationOptions> options = null)

Parameters

services IServiceCollection

The service collection.

configuration IConfiguration

Configuration to bind Quilt4Net:Notification from.

options Action<NotificationOptions>

Optional overrides applied after configuration is bound.

Exceptions

InvalidOperationException

The configured address is not an absolute URI.

AddQuilt4NetNotifications(IHostApplicationBuilder, Action<NotificationOptions>)

Registers INotificationClient, which sends notifications to Quilt4Net.

public static void AddQuilt4NetNotifications(this IHostApplicationBuilder builder, Action<NotificationOptions> options = null)

Parameters

builder IHostApplicationBuilder

The host application builder.

options Action<NotificationOptions>

Optional overrides applied after configuration is bound.