public CandidatesViewModel(
            IAsyncRequestDispatcherFactory asyncRequestDispatcherFactory,
            IAddViewModel addViewModel,
            IDialogService dialogService)
        {
            _asyncRequestDispatcherFactory = asyncRequestDispatcherFactory;
            _addViewModel = addViewModel;
            _dialogService = dialogService;
            _addRequest = new InteractionRequest<ResponseNotification>();

            AddCommand = new DelegateCommand(Add);
            RemoveCommand = new DelegateCommand(Remove);
        }
Пример #2
0
        public CandidatesViewModel(
            IAsyncRequestDispatcherFactory asyncRequestDispatcherFactory,
            IAddViewModel addViewModel,
            IDialogService dialogService)
        {
            _asyncRequestDispatcherFactory = asyncRequestDispatcherFactory;
            _addViewModel  = addViewModel;
            _dialogService = dialogService;
            _addRequest    = new InteractionRequest <ResponseNotification>();

            AddCommand    = new DelegateCommand(Add);
            RemoveCommand = new DelegateCommand(Remove);
        }
        public RecruitersViewModel(
            IAsyncRequestDispatcherFactory asyncRequestDispatcherFactory,
            IDialogService dialogService,
            IAddViewModel addViewModel,
            IDetailsViewModel detailsViewModel)
        {
            _asyncRequestDispatcherFactory = asyncRequestDispatcherFactory;
            _dialogService    = dialogService;
            _addViewModel     = addViewModel;
            _detailsViewModel = detailsViewModel;
            _addRequest       = new InteractionRequest <ResponseNotification>();
            _summaryRequest   = new InteractionRequest <Notification>();

            AddCommand      = new DelegateCommand(Add);
            RemoveCommand   = new DelegateCommand <RecruiterModel>(Remove);
            MaximizeCommand = new DelegateCommand <RecruiterModel>(Maximize);
        }
        public RecruitersViewModel(
            IAsyncRequestDispatcherFactory asyncRequestDispatcherFactory,
            IDialogService dialogService,
            IAddViewModel addViewModel,
            IDetailsViewModel detailsViewModel)
        {
            _asyncRequestDispatcherFactory = asyncRequestDispatcherFactory;
            _dialogService = dialogService;
            _addViewModel = addViewModel;
            _detailsViewModel = detailsViewModel;
            _addRequest = new InteractionRequest<ResponseNotification>();
            _summaryRequest = new InteractionRequest<Notification>();

            AddCommand = new DelegateCommand(Add);
            RemoveCommand = new DelegateCommand<RecruiterModel>(Remove);
            MaximizeCommand = new DelegateCommand<RecruiterModel>(Maximize);
        }