Add schema-aware collection catalogs

This commit is contained in:
Meta Vens 2026-06-27 22:33:50 +01:00
commit 964a3ff1f8
4 changed files with 212 additions and 1 deletions

View file

@ -1782,6 +1782,22 @@ namespace GameCult.Mesh
return new CultMeshDocumentCatalog(documents);
}
/// <summary>
/// Creates a schema-aware catalog over typed collection handles.
/// </summary>
public static CultMeshCollectionCatalog Collections(IEnumerable<ICultMeshCollectionHandle> collections)
{
return new CultMeshCollectionCatalog(collections);
}
/// <summary>
/// Creates a schema-aware catalog over typed collection handles.
/// </summary>
public static CultMeshCollectionCatalog Collections(params ICultMeshCollectionHandle[] collections)
{
return new CultMeshCollectionCatalog(collections);
}
/// <summary>
/// Reads two typed document handles and projects them into one caller-defined view.
/// </summary>