Table of Contents

Class MediaBlocksPipelineMaterializationResult

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

The result of materializing a pipeline document: a live VisioForge.Core.MediaBlocks.MediaBlocksPipeline (when no error diagnostic was produced), the document block id to live block mapping and every diagnostic. Blocks that could not be created stay in the document as placeholders; they never discard the rest of the pipeline.

public class MediaBlocksPipelineMaterializationResult

Inheritance

Inherited Members

Properties

Blocks

Gets the mapping from document block id to live block for every block that was created. Empty when VisioForge.Core.MediaBlocks.Serialization.MediaBlocksPipelineMaterializationResult.Success is false - the pipeline was disposed, so its blocks are no longer live.

public IReadOnlyDictionary<Guid, IMediaBlock> Blocks { get; }

Property Value

IReadOnlyDictionary<Guid, IMediaBlock>

Diagnostics

Gets the diagnostics produced during validation and materialization.

public IReadOnlyList<MediaBlocksDiagnostic> Diagnostics { get; }

Property Value

IReadOnlyList<MediaBlocksDiagnostic>

Pipeline

Gets the materialized pipeline, or null when validation or materialization failed.

public MediaBlocksPipeline Pipeline { get; }

Property Value

MediaBlocksPipeline

Success

Gets a value indicating whether materialization succeeded without errors. Warnings do not fail it.

public bool Success { get; }

Property Value

bool