Skip to content
ConsoleMonster

API Reference

Class

InspectMember

Namespace ConsoleMonster.Data
Assembly ConsoleMonster
Modifiers sealed

A named value whose getter is invoked only when the inspector reads it.

Inheritance

  • Object
  • InspectMember

Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 2

Accepted by parameters 1

Constructors

InspectMember 2 overloads
public InspectMember(String name, Func<Object?> read) #

Creates a member with a lazy value reader.

Parameters

name System.String requiredposition: 0
read System.Func<System.Object?> requiredposition: 1
public InspectMember(String name, Object? value) #

Creates a member with a fixed value.

Parameters

name System.String requiredposition: 0
value System.Object? requiredposition: 1

Methods

public Object? ReadValue() #
Returns: Object?

Reads the member value; the read may throw.

Properties

public String Name { get; } #

The member name.

public Object? Value { get; } #

Reads the member value; the read may throw.