AccountEventServiceCollectionExtensions class
namespace: Serenity.Extensions.DependencyInjection assembly: Serenity.Extensions
Contains extensions to register the events of the accounts.
public static class AccountEventServiceCollectionExtensions
Public Members
| name | description |
|---|---|
| static AddAccountEvents(…) | Adds AccountEventPublisher as the IAccountEventPublisher, and AccountEventEmailHandler, which emails the users when their account changes, e.g. the password, with the AccountEventEmailOptions that ConfigureSections reads. Other handlers can be added as IAccountEventHandlers. |