public ShowContext(DocumentTabUIContext uiCtx, bool isRefresh) { UIContext = uiCtx; IsRefresh = isRefresh; }
public TabContentImpl(DocumentTabService documentTabService, IDocumentTabUIContextLocator documentTabUIContextLocator, Lazy<IReferenceDocumentTabContentProvider, IReferenceDocumentTabContentProviderMetadata>[] referenceDocumentTabContentProviders, Lazy<IDefaultDocumentTabContentProvider, IDefaultDocumentTabContentProviderMetadata>[] defaultDocumentTabContentProviders, Lazy<IReferenceHandler, IReferenceHandlerMetadata>[] referenceHandlers) { elementZoomer = new TabElementZoomer(); tabHistory = new TabHistory(); tabHistory.SetCurrent(new NullDocumentTabContent(), false); this.documentTabService = documentTabService; this.documentTabUIContextLocator = documentTabUIContextLocator; this.referenceDocumentTabContentProviders = referenceDocumentTabContentProviders; this.defaultDocumentTabContentProviders = defaultDocumentTabContentProviders; this.referenceHandlers = referenceHandlers; uiContext = new NullDocumentTabUIContext(); uiObject = uiContext.UIObject; }