API Reference
Class
PresentationOptionsFluent
The fluent methods of PresentationOptions, generated from its public properties: With... sets a property and Add... adds to a collection, both returning the same instance.
Inheritance
- Object
- PresentationOptionsFluent
Methods
public static PresentationOptions WithCulture(PresentationOptions presentationOptions, CultureInfo? value) #Returns:
PresentationOptionsSets 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.
Returns
The same instance.
public static PresentationOptions WithNow(PresentationOptions presentationOptions, DateTimeOffset? value) #Returns:
PresentationOptionsSets PresentationOptions.Now: The reference time for relative dates, or null for the current time at render.
Parameters
- presentationOptions ConsoleMonster.Presenters.PresentationOptions
- The instance.
- value System.DateTimeOffset?
- The value.
Returns
The same instance.
public static PresentationOptions WithTimeZone(PresentationOptions presentationOptions, TimeZoneInfo? value) #Returns:
PresentationOptionsSets 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.
Returns
The same instance.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?