Add schema-aware collection catalogs
This commit is contained in:
parent
a825974e9a
commit
964a3ff1f8
4 changed files with 212 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue