示例#1
0
 public ApprenticeshipApplicationMediator(IApprenticeshipApplicationProvider apprenticeshipApplicationProvider, ApprenticeshipApplicationViewModelServerValidator apprenticeshipApplicationViewModelFullValidator, ApprenticeshipApplicationViewModelSaveValidator apprenticeshipApplicationViewModelSaveValidator, IConfigurationManager configManager, IUserDataProvider userDataProvider)
     : base(configManager, userDataProvider)
 {
     _apprenticeshipApplicationProvider = apprenticeshipApplicationProvider;
     _apprenticeshipApplicationViewModelFullValidator = apprenticeshipApplicationViewModelFullValidator;
     _apprenticeshipApplicationViewModelSaveValidator = apprenticeshipApplicationViewModelSaveValidator;
 }
示例#2
0
 public ApprenticeshipApplicationMediator(IApplicationProvider applicationProvider,
                                          ApprenticeshipApplicationViewModelServerValidator apprenticeshipApplicationViewModelServerValidator,
                                          IDecryptionService <AnonymisedApplicationLink> decryptionService, IDateTimeService dateTimeService,
                                          ILogService logService)
 {
     _applicationProvider = applicationProvider;
     _apprenticeshipApplicationViewModelServerValidator = apprenticeshipApplicationViewModelServerValidator;
     _decryptionService = decryptionService;
     _dateTimeService   = dateTimeService;
     _logService        = logService;
 }
 public ApprenticeshipApplicationMediator(
     IConfigurationService configService,
     IUserDataProvider userDataProvider,
     IApprenticeshipApplicationProvider apprenticeshipApplicationProvider,
     ApprenticeshipApplicationViewModelServerValidator apprenticeshipApplicationViewModelFullValidator,
     ApprenticeshipApplicationViewModelSaveValidator apprenticeshipApplicationViewModelSaveValidator,
     ApprenticeshipApplicationPreviewViewModelValidator apprenticeshipApplicationPreviewViewModelValidator)
     : base(configService, userDataProvider)
 {
     _apprenticeshipApplicationProvider = apprenticeshipApplicationProvider;
     _apprenticeshipApplicationViewModelFullValidator    = apprenticeshipApplicationViewModelFullValidator;
     _apprenticeshipApplicationViewModelSaveValidator    = apprenticeshipApplicationViewModelSaveValidator;
     _apprenticeshipApplicationPreviewViewModelValidator = apprenticeshipApplicationPreviewViewModelValidator;
 }
示例#4
0
 public void SetUp()
 {
     _validator = new ApprenticeshipApplicationViewModelServerValidator();
 }