Skip to content
ConsoleMonster
Class

DistributionFluent

ConsoleMonster.Frames

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

The fluent methods of Distribution, 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
  • DistributionFluent

Methods

public static Distribution BarWidth(Distribution distribution, int value) #

Sets Distribution.BarWidth: The bar width the distribution would like (default 25).

Parameters

distribution ConsoleMonster.Frames.Distribution required
The instance.
value int required
The value.

Returns

Distribution The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::ConsoleMonster.Frames.Distribution { BarWidth = value };    distribution.BarWidth(value);