C# Class EA.Iws.Domain.NotificationApplication.NotificationApplicationFactory

Afficher le fichier Open project: EnvironmentAgency/prsd-iws

Méthodes publiques

Méthode Description
CreateLegacy ( NotificationType notificationType, UKCompetentAuthority competentAuthority, int number ) : Task
CreateNew ( NotificationType notificationType, UKCompetentAuthority competentAuthority ) : Task
NotificationApplicationFactory ( IUserContext userContext, INotificationNumberGenerator numberGenerator ) : System

Private Methods

Méthode Description
IsNumberValid ( UKCompetentAuthority competentAuthority, int number ) : bool

Method Details

CreateLegacy() public méthode

public CreateLegacy ( NotificationType notificationType, UKCompetentAuthority competentAuthority, int number ) : Task
notificationType NotificationType
competentAuthority UKCompetentAuthority
number int
Résultat Task

CreateNew() public méthode

public CreateNew ( NotificationType notificationType, UKCompetentAuthority competentAuthority ) : Task
notificationType NotificationType
competentAuthority UKCompetentAuthority
Résultat Task

NotificationApplicationFactory() public méthode

public NotificationApplicationFactory ( IUserContext userContext, INotificationNumberGenerator numberGenerator ) : System
userContext IUserContext
numberGenerator INotificationNumberGenerator
Résultat System