public WorkbenchRefresher(WorkbenchViewModel viewModel, IAdministrationComponent component, IErrorHandler errorHandler) { this.ViewModel = viewModel; this.Component = component; this.Handle = errorHandler; this.Scheduler = viewModel.Scheduler; Thread.CurrentThread.CurrentUICulture = this.ViewModel.Culture; }
public BaseBoxViewModel() { this.component = PluginContext.ComponentFactory.GetInstance <IAdministrationComponent>(); this.AddCommand = new RelayCommand(() => this.Add(), () => this.CanAdd()); this.closeCommand = new RelayCommand(() => this.Close()); }
public AdminController(IAdministrationComponent administrationComponent, IOptions <AvatarAppSettings> avatarAppOptions, ISemifinalComponent semifinalComponent, IAuthenticationComponent authenticationComponent) : base(authenticationComponent) { _administrationComponent = administrationComponent; _semifinalComponent = semifinalComponent; _avatarAppSettings = avatarAppOptions.Value; }