Docs · API reference · Verso.Abstractions

VariableExplorerEntry Class#

Describes a variable for display in the variable explorer panel.

public sealed record VariableExplorerEntry : System.IEquatable<Verso.Abstractions.VariableExplorerEntry>

Inheritance System.Object → VariableExplorerEntry

Implements System.IEquatable<VariableExplorerEntry>

Constructors#

VariableExplorerEntry(string, string, string, bool) Constructor#

Describes a variable for display in the variable explorer panel.

public VariableExplorerEntry(string Name, string TypeName, string ValuePreview, bool IsExpandable);

Parameters#

Name System.String

The variable name.

TypeName System.String

The display name of the variable's CLR type.

ValuePreview System.String

A truncated string preview of the variable's value.

IsExpandable System.Boolean

Whether the variable has child members that can be inspected.

Properties#

IsExpandable Property#

Whether the variable has child members that can be inspected.

public bool IsExpandable { get; init; }

Property Value#

System.Boolean

Name Property#

The variable name.

public string Name { get; init; }

Property Value#

System.String

TypeName Property#

The display name of the variable's CLR type.

public string TypeName { get; init; }

Property Value#

System.String

ValuePreview Property#

A truncated string preview of the variable's value.

public string ValuePreview { get; init; }

Property Value#

System.String