public CallResultViewModel(IMvxMessenger messenger, IUserDefinedCodeService userDefinedCodeService, IDialogService dialogService, IActivityService activityService, IMvxNavigationService navigationService)
        {
            _dialogService          = dialogService;
            _activityService        = activityService;
            _userDefinedCodeService = userDefinedCodeService;
            _navigationService      = navigationService;
            Messenger = messenger;

            ConfigureValidationRules();
            Validator.ResultChanged += OnValidationResultChanged;
        }
        public BuyerDecisionsViewModel(IMvxMessenger messenger, IUserDefinedCodeService userDefinedCodeService, IDialogService dialogService, IBuyerDecisionsService buyerDecisionsService, IMvxNavigationService navigationService)
        {
            Messenger               = messenger;
            _dialogService          = dialogService;
            _buyerDecisionsService  = buyerDecisionsService;
            _userDefinedCodeService = userDefinedCodeService;
            _navigationService      = navigationService;

            ConfigureValidationRules();
            Validator.ResultChanged += OnValidationResultChanged;
        }
        public DailyToDoViewModel(IMvxMessenger messenger, IAuthenticator authService, IUserDefinedCodeService userDefinedCodeService, IActivityService activityService, IIncrementalCollectionFactory collectionFactory, IMvxNavigationService navigationService)
        {
            Messenger               = messenger;
            _authService            = authService;
            _activityService        = activityService;
            _collectionFactory      = collectionFactory;
            _navigationService      = navigationService;
            _userDefinedCodeService = userDefinedCodeService;

            dismissedMessengerToken = Messenger.Subscribe <TaskDismissedMessage>(message => RemoveTask(message.Activity));
            completedMessengerToken = Messenger.Subscribe <TaskCompletedMessage>(message => RemoveTask(message.Activity));
        }
        public AddActivityViewModel(IMvxMessenger messenger, IBuyerDecisionsService buyerDecisionsService, IUserDefinedCodeService userDefinedCodeService, IActivityService activityService, IMvxNavigationService navigationService, IUserService userService)
        {
            Messenger               = messenger;
            _activityService        = activityService;
            _navigationService      = navigationService;
            _userService            = userService;
            _buyerDecisionsService  = buyerDecisionsService;
            _userDefinedCodeService = userDefinedCodeService;

            ConfigureValidationRules();
            Validator.ResultChanged += OnValidationResultChanged;
        }
        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;
        }
示例#6
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;
        }
示例#7
0
 public SplitRootViewModel(IUserDefinedCodeService userDefinedCodeService, IMvxNavigationService navigationService)
 {
     _userDefinedCodeService = userDefinedCodeService;
     _navigationService      = navigationService;
 }