public StaffingResourceSearchViewModel(IUnitOfWorkManager <IResourceMgtUnitOfWork> unitOfWorkManager) { EventFns.Subscribe(this); _unitOfWorkManager = unitOfWorkManager; Busy = new BusyWatcher(); }
public StaffingResourceSkillsViewModel(IUnitOfWorkManager <IResourceMgtUnitOfWork> unitOfWorkManager) : base(unitOfWorkManager) { EventFns.Subscribe(this); // ReSharper disable DoNotCallOverridableMethodsInConstructor DisplayName = "Skills"; // ReSharper restore DoNotCallOverridableMethodsInConstructor }
public ShellViewModel([ImportMany] IEnumerable <IWorkspace> workspaces, IToolbarManager toolbar, IAuthenticationService authenticationService, ExportFactory <LoginViewModel> loginFactory) { EventFns.Subscribe(this); Toolbar = toolbar; _workspaces = workspaces; _authenticationService = authenticationService; _loginFactory = loginFactory; _navigator = new Navigator(this); }
public ResourceMgtViewModel(StaffingResourceSearchViewModel searchPane, ExportFactory <StaffingResourceNameEditorViewModel> nameEditorFactory, IDialogManager dialogManager, IToolbarManager toolbar) { EventFns.Subscribe(this); SearchPane = searchPane; _nameEditorFactory = nameEditorFactory; _dialogManager = dialogManager; _toolbar = toolbar; _navigator = new Navigator(this); PropertyChanged += OnPropertyChanged; _selectionChangeTimer = new DispatcherTimer { Interval = new TimeSpan(0, 0, 0, 0, 200) }; _selectionChangeTimer.Tick += OnSelectionChangeElapsed; }
protected MessageProcessor() { EventFns.Subscribe(this); }