Run<T>(Func<T>) Method
Runs the specified function in exclusive mode.
T Run<T>(Func<T> func)
- Namespace
- Spectre
.Console - Containing Type
- IExclusivityMode
Parameters
-
T
- The result type.
Parameters
-
Func
<T> func - The func to run in exclusive mode.
Returns
- T