Skip to content
ConsoleMonster

API Reference

Class

ActivityListFluent

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

The fluent methods of ActivityList, generated from its public properties: With... sets a property and Add... adds to a collection, both returning the same instance.

Inheritance

  • Object
  • ActivityListFluent

Methods

public static ActivityList WithMaxVisible(ActivityList activityList, Int32 value) #
Returns: ActivityList

Sets ActivityList.MaxVisible: The most activities shown (default 8); more are summarised in one line.

Parameters

activityList ConsoleMonster.Widgets.ActivityList requiredposition: 0
The instance.
value System.Int32 requiredposition: 1
The value.

Returns

The same instance.

public static ActivityList WithShowElapsed(ActivityList activityList, Boolean value = true) #
Returns: ActivityList

Sets ActivityList.ShowElapsed: Whether each row ends with the time since the activity started, right-aligned (default true).

Parameters

activityList ConsoleMonster.Widgets.ActivityList requiredposition: 0
The instance.
value System.Boolean = true optionalposition: 1
The value (default true).

Returns

The same instance.

public static ActivityList WithShowIds(ActivityList activityList, Boolean value = true) #
Returns: ActivityList

Sets ActivityList.ShowIds: Whether each row starts with the activity's id (#3), for parallel work (default false).

Parameters

activityList ConsoleMonster.Widgets.ActivityList requiredposition: 0
The instance.
value System.Boolean = true optionalposition: 1
The value (default true).

Returns

The same instance.