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

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