예제 #1
0
 public TableServiceViewModel(Authenticator authenticator, ICremaAppHost cremaAppHost, IBrowserService browserService,
                              TableDocumentServiceViewModel contentsService, IPropertyService propertyService, IAppConfiguration configs, Lazy <IShell> shell, TableBrowserViewModel browser)
 {
     this.authenticator          = authenticator;
     this.cremaAppHost           = cremaAppHost;
     this.cremaAppHost.Opened   += CremaAppHost_Opened;
     this.cremaAppHost.Closed   += CremaAppHost_Closed;
     this.cremaAppHost.Loaded   += CremaAppHost_Loaded;
     this.cremaAppHost.Unloaded += CremaAppHost_Unloaded;
     this.cremaAppHost.Reset    += CremaAppHost_Reset;
     this.BrowserService         = browserService;
     this.DocumentService        = contentsService;
     this.PropertyService        = propertyService;
     this.configs     = configs;
     this.shell       = shell;
     this.DisplayName = Resources.Title_Tables;
     this.browser     = browser;
 }
예제 #2
0
 public TableServiceViewModel(ICremaAppHost cremaAppHost, IBrowserService browserService, TableDocumentServiceViewModel contentsService, IPropertyService propertyService)
 {
     this.cremaAppHost           = cremaAppHost;
     this.cremaAppHost.Opened   += CremaAppHost_Opened;
     this.cremaAppHost.Closed   += CremaAppHost_Closed;
     this.cremaAppHost.Loaded   += CremaAppHost_Loaded;
     this.cremaAppHost.Unloaded += CremaAppHost_Unloaded;
     this.cremaAppHost.Reset    += CremaAppHost_Reset;
     this.DisplayName            = Resources.Title_Tables;
 }