Beispiel #1
0
        DocumentTabReferenceResult Create(DocumentTreeNodeData node)
        {
            var content = documentTabContentFactoryService.CreateTabContent(new[] { node });

            if (content == null)
            {
                return(null);
            }
            return(new DocumentTabReferenceResult(content));
        }
 public DocumentTabContent TryCreateContent(DocumentTreeNodeData[] nodes) => documentTabContentFactoryService.CreateTabContent(nodes);
 public DocumentTabContent Create(IDocumentTabService documentTabService) =>
 documentTabContentFactoryService.CreateTabContent(Array.Empty <DocumentTreeNodeData>());