コード例 #1
0
 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;
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 public BaseBoxViewModel()
 {
     this.component    = PluginContext.ComponentFactory.GetInstance <IAdministrationComponent>();
     this.AddCommand   = new RelayCommand(() => this.Add(), () => this.CanAdd());
     this.closeCommand = new RelayCommand(() => this.Close());
 }
コード例 #4
0
 public AdminController(IAdministrationComponent administrationComponent, IOptions <AvatarAppSettings> avatarAppOptions, ISemifinalComponent semifinalComponent, IAuthenticationComponent authenticationComponent) : base(authenticationComponent)
 {
     _administrationComponent = administrationComponent;
     _semifinalComponent      = semifinalComponent;
     _avatarAppSettings       = avatarAppOptions.Value;
 }