Table of Contents

Class MashupVisualizer

Namespace
Bonsai.Design
Assembly
Bonsai.Design.dll

Provides an abstract base class for a visualizer which can be combined with other visualizers.

public abstract class MashupVisualizer : DialogTypeVisualizer
Inheritance
MashupVisualizer
Derived
Inherited Members

Properties

MashupSources

Gets the collection of visualizer sources combined in the mashup visualizer.

public MashupSourceCollection MashupSources { get; }

Property Value

MashupSourceCollection

Methods

GetMashupSource(int, int)

Finds the mashup source located at the specified coordinates.

public virtual MashupSource GetMashupSource(int x, int y)

Parameters

x int

The x-coordinate used to search, in absolute screen coordinates.

y int

The y-coordinate used to search, in absolute screen coordinates.

Returns

MashupSource

The MashupSource representing the mashup source located at the specified coordinates, or null if there is no source at the specified point.

Load(IServiceProvider)

Loads type visualizer resources using the specified service provider.

public override void Load(IServiceProvider provider)

Parameters

provider IServiceProvider

A service provider object which can be used to obtain visualization, runtime inspection, or other editing services.

LoadMashups(IServiceProvider)

Loads type visualizer resources for all sources combined in the mashup visualizer.

public virtual void LoadMashups(IServiceProvider provider)

Parameters

provider IServiceProvider

A service provider object which can be used to obtain visualization, runtime inspection, or other editing services.

Unload()

Unloads all type visualizer resources.

public override void Unload()

UnloadMashups()

Unloads resources for all sources combined in the mashup visualizer.

public virtual void UnloadMashups()