Table of Contents

Property NotificationPublisherType

Namespace
Mediarion
Assembly
Mediarion.Extensions.DependencyInjection.dll

NotificationPublisherType

Gets or sets the notification publisher to register by type rather than by instance.

public Type? NotificationPublisherType { get; set; }

Property Value

Type

Remarks

NotificationPublisher takes an instance you built. This takes a type the container builds, which is what a publisher that needs something injected has to have. When both are set, the instance wins, because an instance cannot have been given by accident.