Skip to content
ConsoleMonster

API Reference

Class

PropertyChange

Namespace ConsoleMonster.Changes
Assembly ConsoleMonster
Modifiers sealed

One changed property of an object (a nested path such as Address.City for nested objects).

Inheritance

  • Object
  • PropertyChange

Usage

Explore 4 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 3

Accepted by parameters 1

Constructors

public PropertyChange(String path, Object? before, Object? after) #

Creates a property change.

Parameters

path System.String requiredposition: 0
The property path.
before System.Object? requiredposition: 1
The old value.
after System.Object? requiredposition: 2
The new value.

Methods

public override String ToString() #
Returns: String

Returns a string that represents the current object.

Returns

A string that represents the current object.

Properties

public String Path { get; } #

The property path.

public Object? Before { get; } #

The old value.

public Object? After { get; } #

The new value.

public String BeforeText { get; } #

The old value as display text; dates that differ only below a minute show their seconds.

public String AfterText { get; } #

The new value as display text; dates that differ only below a minute show their seconds.