SafetyOn<TSettings>(IUnsafeBranchConfigurator) Method
Converts an
IUnsafeConfigurator
to
a configurator with type safety.
public static IConfigurator<TSettings> SafetyOn<TSettings>(this IUnsafeBranchConfigurator configurator)
where TSettings : CommandSettings
- Namespace
- Spectre
.Console .Cli .Unsafe - Containing Type
- Unsafe
Configurator Extensions
Parameters
-
TSettings
- The command settings.
Parameters
-
I
Unsafe configuratorBranch Configurator - The configurator.