Table of Contents

Namespace VisioForge.Core.MediaBlocks.Catalog

Classes

MediaBlockAvailabilityResult

The result of probing one block's availability on the current machine.

MediaBlockCatalog

A read-only catalog of every built-in Media Block known to the loaded SDK assemblies. Descriptors are generated once, by reflection: block identity from the Type property override (read from its IL - the getters are constant expressions and blocks are never instantiated for this), category from the diagram categorizer, factories from the settings CreateBlock() convention or a parameterless constructor, availability from the block's static IsAvailable(), and property metadata from the settings CLR type. Custom third-party block assemblies are not supported.

MediaBlockDescriptor

Describes one built-in block for the catalog: identity, CLR types, display metadata, category, factory, availability probe and settings property metadata. The catalog constructs descriptors from reflection over the SDK assemblies; consumers treat them as read-only.

MediaBlockPropertyDescriptor

Describes one configurable setting of a block: identity, display metadata, type, default and validation range. Generated from the settings CLR type by the catalog; the serialized JSON name is the camelCase form of VisioForge.Core.MediaBlocks.Catalog.MediaBlockPropertyDescriptor.Id.

Interfaces

IMediaBlockResourceResolver

Resolves the logical resource ids stored in a JSON document into live objects the host owns: video views, .NET streams, callbacks and delegates, runtime device handles and other objects that cannot be represented in JSON. A missing resource must surface as an error that blocks materialization, never as a silently skipped dependency.

Enums

MediaBlockAvailabilityState

Whether a block can be used right now on the current machine.

MediaBlockPropertyEditorKind

The editor a UI should present for one setting.