Create(IAnsiConsole, IReadOnlyCapabilities) Method
Creates a
RenderOptions
instance from a IAnsiConsole
.
public static RenderOptions Create(IAnsiConsole console, IReadOnlyCapabilities capabilities = null)
- Namespace
- Spectre
.Console .Rendering - Containing Type
- RenderOptions
Parameters
- IAnsiConsole console
- The console.
-
I
Read capabilitiesOnly Capabilities - The capabilities, or
null
to use the provided console's capabilities.