Table of Contents

Class MediaBlockDocument

Namespace
VisioForge.Core.MediaBlocks.Serialization
Assembly
VisioForge.Core.dll

Document-level description of a single block. The integer VisioForge.Core.MediaBlocks.Serialization.MediaBlockDocument.Type is the authoritative discriminator; VisioForge.Core.MediaBlocks.Serialization.MediaBlockDocument.TypeName is preserved for readability and diagnostics only. Unknown properties are preserved in VisioForge.Core.MediaBlocks.Serialization.MediaBlockDocument.ExtensionData.

public class MediaBlockDocument

Inheritance

Inherited Members

Properties

ExtensionData

Gets unknown properties that survive load/save without loss.

[JsonExtensionData]
public Dictionary<string, JsonElement> ExtensionData { get; set; }

Property Value

Dictionary<string, JsonElement>

Id

Gets or sets the stable unique identifier of this block, independent of its editable name.

public Guid Id { get; set; }

Property Value

Guid

Name

Gets or sets the human-readable editable block name.

public string Name { get; set; }

Property Value

string

Resources

Gets or sets logical resource references (video views, streams, callbacks) as raw JSON. Values are logical resource IDs resolved through an IMediaBlockResourceResolver.

public JsonElement? Resources { get; set; }

Property Value

JsonElement?

Settings

Gets or sets block settings as raw JSON. Typed binding is added with property descriptors.

public JsonElement? Settings { get; set; }

Property Value

JsonElement?

Type

Gets or sets the stable integer VisioForge.Core.MediaBlocks.MediaBlockType discriminator.

public int Type { get; set; }

Property Value

int

TypeName

Gets or sets the enum member name for readability and diagnostics. Not used as the discriminator.

public string TypeName { get; set; }

Property Value

string