Add CultMesh document catalogs
This commit is contained in:
parent
60a3fa9f82
commit
df079f2cab
4 changed files with 192 additions and 0 deletions
|
|
@ -1120,6 +1120,22 @@ namespace GameCult.Mesh
|
|||
return Document<TDocument>(node, key, verse.Context, documentId, sources, routeHint);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a schema-aware catalog over typed document handles.
|
||||
/// </summary>
|
||||
public static CultMeshDocumentCatalog Documents(IEnumerable<ICultMeshDocumentHandle> documents)
|
||||
{
|
||||
return new CultMeshDocumentCatalog(documents);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a schema-aware catalog over typed document handles.
|
||||
/// </summary>
|
||||
public static CultMeshDocumentCatalog Documents(params ICultMeshDocumentHandle[] documents)
|
||||
{
|
||||
return new CultMeshDocumentCatalog(documents);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Describes a typed live feed surface for tooling, UI, and diagnostics.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Reference in a new issue