اقرأ باللغة الإنجليزية تحرير

مشاركة عبر


DebuggerVisualizerAttribute Constructors

Definition

Initializes a new instance of the DebuggerVisualizerAttribute class.

Overloads

DebuggerVisualizerAttribute(String)

Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type name of the visualizer.

DebuggerVisualizerAttribute(Type)

Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type of the visualizer.

DebuggerVisualizerAttribute(String, String)

Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type name of the visualizer and the type name of the visualizer object source.

DebuggerVisualizerAttribute(String, Type)

Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type name of the visualizer and the type of the visualizer object source.

DebuggerVisualizerAttribute(Type, String)

Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type of the visualizer and the type name of the visualizer object source.

DebuggerVisualizerAttribute(Type, Type)

Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type of the visualizer and the type of the visualizer object source.

DebuggerVisualizerAttribute(String)

Source:
DebuggerVisualizerAttribute.cs
Source:
DebuggerVisualizerAttribute.cs
Source:
DebuggerVisualizerAttribute.cs

Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type name of the visualizer.

C#
public DebuggerVisualizerAttribute(string visualizerTypeName);

Parameters

visualizerTypeName
String

The fully qualified type name of the visualizer.

Remarks

The DebuggerVisualizerAttribute can be applied to assemblies, classes, and structures. For information on the use of this attribute, see How to: Write a Visualizer.

Applies to

.NET 10 والإصدارات الأخرى
منتج الإصدارات
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

DebuggerVisualizerAttribute(Type)

Source:
DebuggerVisualizerAttribute.cs
Source:
DebuggerVisualizerAttribute.cs
Source:
DebuggerVisualizerAttribute.cs

Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type of the visualizer.

C#
public DebuggerVisualizerAttribute(Type visualizer);

Parameters

visualizer
Type

The type of the visualizer.

Exceptions

visualizer is null.

Remarks

The DebuggerVisualizerAttribute can be applied to assemblies, classes, and structures. For information on the use of this attribute, see How to: Write a Visualizer.

Applies to

.NET 10 والإصدارات الأخرى
منتج الإصدارات
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

DebuggerVisualizerAttribute(String, String)

Source:
DebuggerVisualizerAttribute.cs
Source:
DebuggerVisualizerAttribute.cs
Source:
DebuggerVisualizerAttribute.cs

Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type name of the visualizer and the type name of the visualizer object source.

C#
public DebuggerVisualizerAttribute(string visualizerTypeName, string? visualizerObjectSourceTypeName);
C#
public DebuggerVisualizerAttribute(string visualizerTypeName, string visualizerObjectSourceTypeName);

Parameters

visualizerTypeName
String

The fully qualified type name of the visualizer.

visualizerObjectSourceTypeName
String

The fully qualified type name of the visualizer object source.

Remarks

The DebuggerVisualizerAttribute can be applied to assemblies, classes, and structures. For information on the use of this attribute, see How to: Write a Visualizer.

Applies to

.NET 10 والإصدارات الأخرى
منتج الإصدارات
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

DebuggerVisualizerAttribute(String, Type)

Source:
DebuggerVisualizerAttribute.cs
Source:
DebuggerVisualizerAttribute.cs
Source:
DebuggerVisualizerAttribute.cs

Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type name of the visualizer and the type of the visualizer object source.

C#
public DebuggerVisualizerAttribute(string visualizerTypeName, Type visualizerObjectSource);

Parameters

visualizerTypeName
String

The fully qualified type name of the visualizer.

visualizerObjectSource
Type

The type of the visualizer object source.

Exceptions

visualizerObjectSource is null.

Remarks

The DebuggerVisualizerAttribute can be applied to assemblies, classes, and structures. For information on the use of this attribute, see How to: Write a Visualizer.

Applies to

.NET 10 والإصدارات الأخرى
منتج الإصدارات
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

DebuggerVisualizerAttribute(Type, String)

Source:
DebuggerVisualizerAttribute.cs
Source:
DebuggerVisualizerAttribute.cs
Source:
DebuggerVisualizerAttribute.cs

Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type of the visualizer and the type name of the visualizer object source.

C#
public DebuggerVisualizerAttribute(Type visualizer, string? visualizerObjectSourceTypeName);
C#
public DebuggerVisualizerAttribute(Type visualizer, string visualizerObjectSourceTypeName);

Parameters

visualizer
Type

The type of the visualizer.

visualizerObjectSourceTypeName
String

The fully qualified type name of the visualizer object source.

Exceptions

visualizer is null.

Remarks

The DebuggerVisualizerAttribute can be applied to assemblies, classes, and structures. For information on the use of this attribute, see How to: Write a Visualizer.

Applies to

.NET 10 والإصدارات الأخرى
منتج الإصدارات
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

DebuggerVisualizerAttribute(Type, Type)

Source:
DebuggerVisualizerAttribute.cs
Source:
DebuggerVisualizerAttribute.cs
Source:
DebuggerVisualizerAttribute.cs

Initializes a new instance of the DebuggerVisualizerAttribute class, specifying the type of the visualizer and the type of the visualizer object source.

C#
public DebuggerVisualizerAttribute(Type visualizer, Type visualizerObjectSource);

Parameters

visualizer
Type

The type of the visualizer.

visualizerObjectSource
Type

The type of the visualizer object source.

Exceptions

visualizerObjectSource is null.

Remarks

The DebuggerVisualizerAttribute can be applied to assemblies, classes, and structures. For information on the use of this attribute, see How to: Write a Visualizer.

Applies to

.NET 10 والإصدارات الأخرى
منتج الإصدارات
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1