API Reference
ChangeViewFluent
The fluent methods of ChangeView, generated from its public properties: With... sets a property and Add... adds to a collection, both returning the same instance.
Inheritance
- Object
- ChangeViewFluent
Methods
public static ChangeView WithLongValue(ChangeView changeView, Int32 value) #ChangeViewSets ChangeView.LongValue: Values longer than this many cells (or with line breaks) show as a line diff instead of in the table (default 60).
Parameters
- changeView ConsoleMonster.Changes.ChangeView
- The instance.
- value System.Int32
- The value.
Returns
The same instance.
public static ChangeView WithMaxProperties(ChangeView changeView, Int32 value) #ChangeViewSets ChangeView.MaxProperties: The most lines an added or removed object takes in the table, one per compared property (default 6, 0 for no limit); beyond it the last line says "+N more" with ChangeView.MoreHint. The side-by-side view lists all.
Parameters
- changeView ConsoleMonster.Changes.ChangeView
- The instance.
- value System.Int32
- The value.
Returns
The same instance.
public static ChangeView WithMode(ChangeView changeView, ChangeViewMode value) #ChangeViewSets ChangeView.Mode: The view.
Parameters
- changeView ConsoleMonster.Changes.ChangeView
- The instance.
- value ConsoleMonster.Changes.ChangeViewMode
- The value.
Returns
The same instance.
public static ChangeView WithMoreHint(ChangeView changeView, String? value) #ChangeViewSets ChangeView.MoreHint: Plain text after "+N more" saying where to see every value (Show-ConsoleChanges: "-PassThru or -View SideBySide"), or null.
Parameters
- changeView ConsoleMonster.Changes.ChangeView
- The instance.
- value System.String?
- The value.
Returns
The same instance.
public static ChangeView WithTitle(ChangeView changeView, String? value) #ChangeViewSets ChangeView.Title: A title above the view (markup), or null.
Parameters
- changeView ConsoleMonster.Changes.ChangeView
- The instance.
- value System.String?
- The value.
Returns
The same instance.
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?