예제 #1
0
 public InvitationService(IEmailValidationService emailValidationService,
                          IMinutzAvailabilityRepository availabilityRepository,
                          IMinutzAttendeeRepository attendeeRepository,
                          IUserRepository userRepository,
                          IApplicationSetting applicationSetting)
 {
     _emailValidationService = emailValidationService;
     _availabilityRepository = availabilityRepository;
     _attendeeRepository     = attendeeRepository;
     _userRepository         = userRepository;
     _applicationSetting     = applicationSetting;
 }
        public EditProspectViewModel(IMvxMessenger messenger, IUserDefinedCodeService userDefinedCodeService, IStreetValidationService streetValidationService, ITrafficSourceService trafficSourceService, IDialogService dialogService, IPhoneNumberValidationService phoneNumberValidationService, IEmailValidationService emailValidationService, IProspectService prospectService, IMvxNavigationService navigationService)

        {
            Messenger                     = messenger;
            _trafficSourceService         = trafficSourceService;
            _dialogService                = dialogService;
            _phoneNumberValidationService = phoneNumberValidationService;
            _streetValidationService      = streetValidationService;
            _emailValidationService       = emailValidationService;
            _prospectService              = prospectService;
            _userDefinedCodeService       = userDefinedCodeService;
            _navigationService            = navigationService;

            ConfigureValidationRules();
            Validator.ResultChanged += OnValidationResultChanged;
        }
예제 #3
0
        public CobuyerDetailViewModel(IAuthenticator authenticator, IMvxMessenger messenger, IProspectService prospectService, IUserDefinedCodeService userDefinedCodeService, IStreetValidationService streetValidationService, IDialogService dialogService, IPhoneNumberValidationService phoneNumberValidationService, IEmailValidationService emailValidationService, ICobuyerService cobuyerService, IMvxNavigationService navigationService, IUserService userService)
        {
            Messenger      = messenger;
            _dialogService = dialogService;
            _phoneNumberValidationService = phoneNumberValidationService;
            _streetValidationService      = streetValidationService;
            _emailValidationService       = emailValidationService;
            _cobuyerService         = cobuyerService;
            _userDefinedCodeService = userDefinedCodeService;
            _authenticator          = authenticator;
            _prospectService        = prospectService;
            _navigationService      = navigationService;
            _userService            = userService;

            ConfigureValidationRules();
            Validator.ResultChanged += OnValidationResultChanged;
        }
예제 #4
0
 public InvitationServiceTests()
 {
     _emailValidationService = new EmailValidationService();
 }