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; }
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; }