public void Describe(DescribeContext describeContext) { var graphs = _cacheService.Get(CacheKey, () => { return _contentManager .Query(VersionOptions.Published, "AssociativyGraph") .Join<AssociativyGraphPartRecord>() .List<AssociativyGraphPart>() .Select(item => new Graph { GraphName = item.GraphName, DisplayGraphName = item.DisplayGraphName, ContainedContentTypes = item.ContainedContentTypes }); }); foreach (var graph in graphs) { describeContext.DescribeGraph( graph.GraphName, T(graph.DisplayGraphName), graph.ContainedContentTypes, _graphServicesFactory.Factory); } }
public void Describe(DescribeContext describeContext) { describeContext.DescribeGraph( "AssociativyNotions", T("Associativy Notions"), new[] { "Notion" }, _graphServicesFactory.Factory); }
public void Describe(DescribeContext describeContext) { describeContext.DescribeGraph( "Neo4jNotions", T("Neo4j Notions"), new[] { "Notion" }, _graphServicesFactory); }
public void Describe(DescribeContext describeContext) { describeContext.DescribeGraph( Name, T("Associativy Wikipedia Graph"), new[] { "WikipediaPage" }, _graphServicesFactory.Factory); }