Class BlockAssetCatalog
public sealed class BlockAssetCatalog
- Inheritance
-
BlockAssetCatalog
- Inherited Members
Constructors
BlockAssetCatalog(AssetRegistry, AssetDefinitionBinding<BlockType>)
public BlockAssetCatalog(AssetRegistry registry, AssetDefinitionBinding<BlockType> blockTypes)
Parameters
registryAssetRegistryblockTypesAssetDefinitionBinding<BlockType>
Methods
Get(string)
public BlockType Get(string blockTypeId)
Parameters
blockTypeIdstring
Returns
TryGet(string?, out BlockType?)
public bool TryGet(string? blockTypeId, out BlockType? blockType)