private void SetupStaticFakes() { _logger = A.Fake <ILogger>(); _skillTableModel = A.Fake <ISkillTableModel>(); _bindingHelper = A.Fake <ISkillTableViewModelBindingHelper>(); _fakeNotifyTaskCompletionFactory = A.Fake <INotifyTaskCompletionFactory>(); }
public SkillTableViewModel(ILogger logger, ISkillTableModel model, IAsyncCommandFactory asyncCommandFactory, IAsyncCommandAdaptorFactory asyncCommandAdaptorFactory, IUiThreadInvoker uiThreadInvoker, IUiStateController uiStateController, ISkillTableViewModelBindingHelper bindingHelper) : base(uiThreadInvoker) { _logger = logger; _uiThreadInvoker = uiThreadInvoker; _uiStateController = uiStateController; _bindingHelper = bindingHelper; _model = model; _model.PropertyChanged += ModelOnPropertyChanged; SetupTaskRunners(asyncCommandFactory); SetupCommandBindings(asyncCommandAdaptorFactory); }