UiConstruction
ConsoleMonster
Configuration endings for factories whose identity or representation is fixed at construction.
Inheritance
- object
- UiConstruction
Methods
public static IWidget Build(ChartOptions options) #Creates the selected chart through the shared validated factory.
Parameters
- options ConsoleMonster.Widgets.ChartOptions
- The configured definition.
public static IWidget Build(ProgressOptions options) #Creates determinate or indeterminate progress through the shared validated factory.
Parameters
- options ConsoleMonster.Widgets.ProgressOptions
- The configured definition.
public static InputControl Build(SelectInputOptions options) #Creates single or multiple selection through the shared input factory.
Parameters
- options ConsoleMonster.Interactive.SelectInputOptions
- The configured definition.
public static InputControl Build(TextInputOptions options) #Creates single-line or multiline text through the shared input factory.
Parameters
- options ConsoleMonster.Interactive.TextInputOptions
- The configured definition.
public static Button Build(ButtonInputOptions options) #Creates a button through the shared input factory.
Parameters
- options ConsoleMonster.Interactive.ButtonInputOptions
- The configured definition.
public static Toggle Build(ToggleInputOptions options) #Creates a toggle through the shared input factory.
Parameters
- options ConsoleMonster.Interactive.ToggleInputOptions
- The configured definition.
public static AppBinding Build(BindingOptions options) #Creates a state binding after its callback and identity have been configured.
Parameters
- options ConsoleMonster.Interactive.BindingOptions
- The configured definition.
public static AppCommand Build(CommandOptions options) #Creates an asynchronous action after its immutable identity and callback have been configured.
Parameters
- options ConsoleMonster.Interactive.CommandOptions
- The configured definition.
public static T Build<T>(ChartOptions options) #Materializes a numeric chart and verifies the concrete handle type.
Type Parameters
- T
- The expected renderer.
Parameters
- options ConsoleMonster.Widgets.ChartOptions
- The definition.
Returns
T The typed renderer.public static T Build<T>(ProgressOptions options) #Materializes progress and verifies the concrete handle type.
Type Parameters
- T
- The expected renderer.
Parameters
- options ConsoleMonster.Widgets.ProgressOptions
- The definition.
Returns
T The typed renderer.public static LiveSession CreateSession(IWidget widget, LiveSessionOptions? options = null) #Creates an owned live-session lifetime over a configured widget; dispose it after running.
Parameters
- widget ConsoleMonster.Layout.IWidget
- The session root.
- options ConsoleMonster.Live.LiveSessionOptions? = null
- The session options.
public static void Export(ChartOptions definition, string path, string? format = null, ExportOptions? options = null, IFrameExportProvider? provider = null) #Exports the configured definition through the shared core/add-on dispatcher.
Parameters
- definition ConsoleMonster.Widgets.ChartOptions
- The configured definition.
- path string
- The destination.
- format string? = null
- The format.
- options ConsoleMonster.Export.ExportOptions? = null
- The export options.
- provider ConsoleMonster.Export.IFrameExportProvider? = null
- An optional add-on provider.
public static void Export(ProgressOptions definition, string path, string? format = null, ExportOptions? options = null, IFrameExportProvider? provider = null) #Exports the configured definition through the shared core/add-on dispatcher.
Parameters
- definition ConsoleMonster.Widgets.ProgressOptions
- The configured definition.
- path string
- The destination.
- format string? = null
- The format.
- options ConsoleMonster.Export.ExportOptions? = null
- The export options.
- provider ConsoleMonster.Export.IFrameExportProvider? = null
- An optional add-on provider.
public static void Show(ChartOptions definition, TerminalProfile? profile = null, ITerminalWriter? writer = null) #Displays the configured definition through the shared widget pipeline.
Parameters
- definition ConsoleMonster.Widgets.ChartOptions
- The configured definition.
- profile ConsoleMonster.Capabilities.TerminalProfile? = null
- The terminal profile.
- writer ConsoleMonster.Output.ITerminalWriter? = null
- The output writer.
public static void Show(ProgressOptions definition, TerminalProfile? profile = null, ITerminalWriter? writer = null) #Displays the configured definition through the shared widget pipeline.
Parameters
- definition ConsoleMonster.Widgets.ProgressOptions
- The configured definition.
- profile ConsoleMonster.Capabilities.TerminalProfile? = null
- The terminal profile.
- writer ConsoleMonster.Output.ITerminalWriter? = null
- The output writer.