Table of Contents

Class TypeVisualizerAttribute

Namespace
Bonsai
Assembly
Bonsai.Core.dll

Determines the type of visualizer used to display the target of the attribute.

[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple = true)]
public sealed class TypeVisualizerAttribute : Attribute, _Attribute
Inheritance
TypeVisualizerAttribute
Implements
Inherited Members

Constructors

TypeVisualizerAttribute(string)

Initializes a new instance of the TypeVisualizerAttribute class with the specified visualizer type name.

public TypeVisualizerAttribute(string visualizerTypeName)

Parameters

visualizerTypeName string

A string specifying the assembly qualified name of a visualizer that can be used to display the type this attribute is bound to.

TypeVisualizerAttribute(Type)

Initializes a new instance of the TypeVisualizerAttribute class with the specified visualizer type.

public TypeVisualizerAttribute(Type visualizer)

Parameters

visualizer Type

The Type of a visualizer that can be used to display the type this attribute is bound to.

Properties

Target

Gets or sets the type that is the target of the attribute.

public Type Target { get; set; }

Property Value

Type

TargetTypeName

Gets or sets the assembly qualified name of the type that is the target of the attribute.

public string TargetTypeName { get; set; }

Property Value

string

VisualizerTypeName

Gets the assembly qualified name of the visualizer class.

public string VisualizerTypeName { get; }

Property Value

string