RunExclusive<T>(IAnsiConsole, Func<T>) Method
Runs the specified function in exclusive mode.
public static T RunExclusive<T>(this IAnsiConsole console, Func<T> func)
- Namespace
- Spectre
.Console - Containing Type
- Ansi
Console Extensions
Parameters
-
T
- The result type.
Parameters
- IAnsiConsole console
- The console.
-
Func
<T> func - The func to run in exclusive mode.
Returns
- T