Skip to content
ConsoleMonster
Class

WidgetUpdateFluent

ConsoleMonster.Live

Namespace
ConsoleMonster.Live
Assembly
ConsoleMonster
Modifiers
static
Attributes
GeneratedCode("ConsoleMonster.Generators", "1.0.0")

The fluent methods of WidgetUpdate, generated from its public properties: A property-named method sets a property and Add... adds to a collection, both returning the same instance.

Inheritance

  • object
  • WidgetUpdateFluent

Methods

Append 2 overloads
public static WidgetUpdate Append(WidgetUpdate widgetUpdate, bool value) #

Sets WidgetUpdate.Append: Whether Value is a new numeric sample.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value bool required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { Append = value };    widgetUpdate.Append(value);
public static WidgetUpdate Append(WidgetUpdate widgetUpdate) #

Sets WidgetUpdate.Append to true.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance to configure.

Returns

WidgetUpdate The same instance.
AppendCells 2 overloads
public static WidgetUpdate AppendCells(WidgetUpdate widgetUpdate, bool value) #

Sets WidgetUpdate.AppendCells: Whether to append cells.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value bool required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { AppendCells = value };    widgetUpdate.AppendCells(value);
public static WidgetUpdate AppendCells(WidgetUpdate widgetUpdate) #

Sets WidgetUpdate.AppendCells to true.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance to configure.

Returns

WidgetUpdate The same instance.
public static WidgetUpdate CellCount(WidgetUpdate widgetUpdate, int value) #

Sets WidgetUpdate.CellCount: The new number of cells.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value int required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { CellCount = value };    widgetUpdate.CellCount(value);
ClearRows 2 overloads
public static WidgetUpdate ClearRows(WidgetUpdate widgetUpdate, bool value) #

Sets WidgetUpdate.ClearRows: Whether to clear all table rows.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value bool required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { ClearRows = value };    widgetUpdate.ClearRows(value);
public static WidgetUpdate ClearRows(WidgetUpdate widgetUpdate) #

Sets WidgetUpdate.ClearRows to true.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance to configure.

Returns

WidgetUpdate The same instance.
Complete 2 overloads
public static WidgetUpdate Complete(WidgetUpdate widgetUpdate, bool value) #

Sets WidgetUpdate.Complete: Whether to complete an activity or lane.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value bool required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { Complete = value };    widgetUpdate.Complete(value);
public static WidgetUpdate Complete(WidgetUpdate widgetUpdate) #

Sets WidgetUpdate.Complete to true.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance to configure.

Returns

WidgetUpdate The same instance.
public static WidgetUpdate Content(WidgetUpdate widgetUpdate, IWidget? value) #

Sets WidgetUpdate.Content: The replacement region content; null empties it.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value ConsoleMonster.Layout.IWidget? required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { Content = value };    widgetUpdate.Content(value);
public static WidgetUpdate Count(WidgetUpdate widgetUpdate, int value) #

Sets WidgetUpdate.Count: The number of appended cells; the default is one.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value int required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                      // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { Count = value };    widgetUpdate.Count(value);
public static WidgetUpdate Counter(WidgetUpdate widgetUpdate, IDictionary<string, int>? value) #

Sets WidgetUpdate.Counter: The summary counters, in enumeration order.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value System.Collections.Generic.IDictionary<string, int>? required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { Counter = value };    widgetUpdate.Counter(value);
Cut 2 overloads
public static WidgetUpdate Cut(WidgetUpdate widgetUpdate, bool value) #

Sets WidgetUpdate.Cut: Whether to sever the selected edge; omission preserves its connection state.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value bool required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                    // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { Cut = value };    widgetUpdate.Cut(value);
public static WidgetUpdate Cut(WidgetUpdate widgetUpdate) #

Sets WidgetUpdate.Cut to true.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance to configure.

Returns

WidgetUpdate The same instance.
public static WidgetUpdate Detail(WidgetUpdate widgetUpdate, string? value) #

Sets WidgetUpdate.Detail: The replacement detail; null explicitly clears it.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value string? required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { Detail = value };    widgetUpdate.Detail(value);
public static WidgetUpdate EdgeKey(WidgetUpdate widgetUpdate, string? value) #

Sets WidgetUpdate.EdgeKey: The flow edge to update; exclusive with NodeKey.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value string? required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { EdgeKey = value };    widgetUpdate.EdgeKey(value);
public static WidgetUpdate Increment(WidgetUpdate widgetUpdate, double value) #

Sets WidgetUpdate.Increment: The additive change, including zero.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value double required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { Increment = value };    widgetUpdate.Increment(value);
public static WidgetUpdate Index(WidgetUpdate widgetUpdate, int[]? value) #

Sets WidgetUpdate.Index: The zero-based cell positions.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value int[]? required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                      // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { Index = value };    widgetUpdate.Index(value);
public static WidgetUpdate Key(WidgetUpdate widgetUpdate, string? value) #

Sets WidgetUpdate.Key: The item key within the addressed widget.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value string? required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                    // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { Key = value };    widgetUpdate.Key(value);
public static WidgetUpdate Label(WidgetUpdate widgetUpdate, string? value) #

Sets WidgetUpdate.Label: The replacement label; null explicitly clears it.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value string? required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                      // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { Label = value };    widgetUpdate.Label(value);
public static WidgetUpdate NodeKey(WidgetUpdate widgetUpdate, string? value) #

Sets WidgetUpdate.NodeKey: The flow node to update; exclusive with EdgeKey.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value string? required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { NodeKey = value };    widgetUpdate.NodeKey(value);
public static WidgetUpdate ParentKey(WidgetUpdate widgetUpdate, string? value) #

Sets WidgetUpdate.ParentKey: The parent activity key.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value string? required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { ParentKey = value };    widgetUpdate.ParentKey(value);
public static WidgetUpdate Remaining(WidgetUpdate widgetUpdate, TimeSpan? value) #

Sets WidgetUpdate.Remaining: The estimated time remaining on an activity.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value System.TimeSpan? required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { Remaining = value };    widgetUpdate.Remaining(value);
RemoveRow 2 overloads
public static WidgetUpdate RemoveRow(WidgetUpdate widgetUpdate, bool value) #

Sets WidgetUpdate.RemoveRow: Whether to remove the row addressed by Key.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value bool required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { RemoveRow = value };    widgetUpdate.RemoveRow(value);
public static WidgetUpdate RemoveRow(WidgetUpdate widgetUpdate) #

Sets WidgetUpdate.RemoveRow to true.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance to configure.

Returns

WidgetUpdate The same instance.
Restart 2 overloads
public static WidgetUpdate Restart(WidgetUpdate widgetUpdate, bool value) #

Sets WidgetUpdate.Restart: Whether to restart a spinner.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value bool required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { Restart = value };    widgetUpdate.Restart(value);
public static WidgetUpdate Restart(WidgetUpdate widgetUpdate) #

Sets WidgetUpdate.Restart to true.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance to configure.

Returns

WidgetUpdate The same instance.
public static WidgetUpdate Result(WidgetUpdate widgetUpdate, StatusKind value) #

Sets WidgetUpdate.Result: The result of completed lane steps.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value ConsoleMonster.Styling.StatusKind required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { Result = value };    widgetUpdate.Result(value);
Row 2 overloads
public static WidgetUpdate Row(WidgetUpdate widgetUpdate, ConsoleTableRow? value) #

Sets WidgetUpdate.Row: A keyed table row with typed cells.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value ConsoleMonster.Live.ConsoleTableRow? required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                    // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { Row = value };    widgetUpdate.Row(value);
public static WidgetUpdate Row(WidgetUpdate widgetUpdate, Action<ConsoleTableRow> configure) #

Configures WidgetUpdate.Row in place (creating it when not set): A keyed table row with typed cells.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
configure System.Action<ConsoleMonster.Live.ConsoleTableRow> required
Configures the value.

Returns

WidgetUpdate The same instance.
public static WidgetUpdate Status(WidgetUpdate widgetUpdate, StatusKind value) #

Sets WidgetUpdate.Status: The new state.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value ConsoleMonster.Styling.StatusKind required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { Status = value };    widgetUpdate.Status(value);
public static WidgetUpdate Total(WidgetUpdate widgetUpdate, double value) #

Sets WidgetUpdate.Total: The planned total; zero represents an unknown total.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value double required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                      // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { Total = value };    widgetUpdate.Total(value);
public static WidgetUpdate Value(WidgetUpdate widgetUpdate, object? value) #

Sets WidgetUpdate.Value: The absolute value, retaining its original scalar type.

Parameters

widgetUpdate ConsoleMonster.Live.WidgetUpdate required
The instance.
value object? required
The value.

Returns

WidgetUpdate The same instance.

Examples

// C# initializer or property                                      // C# fluent
new global::ConsoleMonster.Live.WidgetUpdate { Value = value };    widgetUpdate.Value(value);