API Reference
Class
ActivityListFluent
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:
ActivityListSets ActivityList.MaxVisible: The most activities shown (default 8); more are summarised in one line.
Parameters
- activityList ConsoleMonster.Widgets.ActivityList
- The instance.
- value System.Int32
- The value.
Returns
The same instance.
public static ActivityList WithShowElapsed(ActivityList activityList, Boolean value = true) #Returns:
ActivityListSets ActivityList.ShowElapsed: Whether each row ends with the time since the activity started, right-aligned (default true).
Parameters
- activityList ConsoleMonster.Widgets.ActivityList
- The instance.
- value System.Boolean = true
- The value (default true).
Returns
The same instance.
public static ActivityList WithShowIds(ActivityList activityList, Boolean value = true) #Returns:
ActivityListSets ActivityList.ShowIds: Whether each row starts with the activity's id (#3), for parallel work (default false).
Parameters
- activityList ConsoleMonster.Widgets.ActivityList
- The instance.
- value System.Boolean = true
- The value (default true).
Returns
The same instance.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?