Skip to content
ConsoleMonster
Class

DateSelectionOptionsFluent

ConsoleMonster.Interactive

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

The fluent methods of DateSelectionOptions, 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
  • DateSelectionOptionsFluent

Methods

public static DateSelectionOptions Configure(DateSelectionOptions dateSelectionOptions, Action<DateSelectionOptions> configure) #

Assigns callbacks and related configuration without invoking delegate-valued properties.

Parameters

dateSelectionOptions ConsoleMonster.Interactive.DateSelectionOptions required
The instance.
configure System.Action<ConsoleMonster.Interactive.DateSelectionOptions> required
Assignments applied in order.

Returns

DateSelectionOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::ConsoleMonster.Interactive.DateSelectionOptions { Unavailable = value };    Ui.Options<global::ConsoleMonster.Interactive.DateSelectionOptions>().Configure(configured => configured.Unavailable = value);
public static DateSelectionOptions Culture(DateSelectionOptions dateSelectionOptions, CultureInfo? value) #

Sets DateSelectionOptions.Culture: Display and line-entry culture.

Parameters

dateSelectionOptions ConsoleMonster.Interactive.DateSelectionOptions required
The instance.
value System.Globalization.CultureInfo? required
The value.

Returns

DateSelectionOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.DateSelectionOptions { Culture = value };    Ui.Options<global::ConsoleMonster.Interactive.DateSelectionOptions>().Culture(value);
public static DateSelectionOptions Data(DateSelectionOptions dateSelectionOptions, CalendarData value) #

Sets DateSelectionOptions.Data: Grouped status marks and labels.

Parameters

dateSelectionOptions ConsoleMonster.Interactive.DateSelectionOptions required
The instance.
value ConsoleMonster.Dates.CalendarData required
The value.

Returns

DateSelectionOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ConsoleMonster.Interactive.DateSelectionOptions { Data = value };    Ui.Options<global::ConsoleMonster.Interactive.DateSelectionOptions>().Data(value);
public static DateSelectionOptions FirstDayOfWeek(DateSelectionOptions dateSelectionOptions, DayOfWeek? value) #

Sets DateSelectionOptions.FirstDayOfWeek: First weekday; null follows Culture.

Parameters

dateSelectionOptions ConsoleMonster.Interactive.DateSelectionOptions required
The instance.
value System.DayOfWeek? required
The value.

Returns

DateSelectionOptions The same instance.

Examples

// C# initializer or property                                                              // C# fluent
new global::ConsoleMonster.Interactive.DateSelectionOptions { FirstDayOfWeek = value };    Ui.Options<global::ConsoleMonster.Interactive.DateSelectionOptions>().FirstDayOfWeek(value);
public static DateSelectionOptions Maximum(DateSelectionOptions dateSelectionOptions, DateTime? value) #

Sets DateSelectionOptions.Maximum: Latest permitted date.

Parameters

dateSelectionOptions ConsoleMonster.Interactive.DateSelectionOptions required
The instance.
value System.DateTime? required
The value.

Returns

DateSelectionOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.DateSelectionOptions { Maximum = value };    Ui.Options<global::ConsoleMonster.Interactive.DateSelectionOptions>().Maximum(value);
public static DateSelectionOptions Minimum(DateSelectionOptions dateSelectionOptions, DateTime? value) #

Sets DateSelectionOptions.Minimum: Earliest permitted date.

Parameters

dateSelectionOptions ConsoleMonster.Interactive.DateSelectionOptions required
The instance.
value System.DateTime? required
The value.

Returns

DateSelectionOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ConsoleMonster.Interactive.DateSelectionOptions { Minimum = value };    Ui.Options<global::ConsoleMonster.Interactive.DateSelectionOptions>().Minimum(value);
public static DateSelectionOptions Today(DateSelectionOptions dateSelectionOptions, DateTime value) #

Sets DateSelectionOptions.Today: Injectable civil date for today and the initial cursor.

Parameters

dateSelectionOptions ConsoleMonster.Interactive.DateSelectionOptions required
The instance.
value System.DateTime required
The value.

Returns

DateSelectionOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ConsoleMonster.Interactive.DateSelectionOptions { Today = value };    Ui.Options<global::ConsoleMonster.Interactive.DateSelectionOptions>().Today(value);