Class
PresentersFluent
ConsoleMonster.Presenters
The fluent methods of PresentationOptions, 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
- PresentersFluent
Methods
public static PresentationOptions Culture(PresentationOptions presentationOptions, CultureInfo? value) #Sets PresentationOptions.Culture: The culture for numbers and dates, or null for the render culture (the profile's TerminalProfile.Culture, else the current culture).
Parameters
- presentationOptions ConsoleMonster.Presenters.PresentationOptions
- The instance.
- value System.Globalization.CultureInfo?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Presenters.PresentationOptions { Culture = value }; presentationOptions.Culture(value);public static PresentationOptions Now(PresentationOptions presentationOptions, DateTimeOffset? value) #Sets PresentationOptions.Now: The reference time for relative dates, or null for CONSOLEMONSTER_NOW (recordings/tests) and then the current time at render.
Parameters
- presentationOptions ConsoleMonster.Presenters.PresentationOptions
- The instance.
- value System.DateTimeOffset?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Presenters.PresentationOptions { Now = value }; presentationOptions.Now(value);public static PresentationOptions TimeZone(PresentationOptions presentationOptions, TimeZoneInfo? value) #Sets PresentationOptions.TimeZone: The time zone for absolute dates, or null for local time.
Parameters
- presentationOptions ConsoleMonster.Presenters.PresentationOptions
- The instance.
- value System.TimeZoneInfo?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Presenters.PresentationOptions { TimeZone = value }; presentationOptions.TimeZone(value);