Table of Contents

Interface IMediaBlockSettings

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

Interface for configuration objects that can create and configure MediaBlock instances. This interface enables a factory pattern where settings objects encapsulate all necessary configuration parameters and can instantiate properly configured MediaBlocks on demand.

public interface IMediaBlockSettings

Methods

CreateBlock()

Creates a new MediaBlock instance configured with the settings contained in this object. This factory method allows for separation of configuration from instantiation, making it easier to serialize settings or create multiple blocks with the same configuration.

MediaBlock CreateBlock()

Returns

MediaBlock

A new MediaBlock instance configured according to this settings object.