IUnsafeBranchConfigurator Interface
Represents an unsafe configurator for a branch.
public interface IUnsafeBranchConfigurator : IUnsafeConfigurator
- Namespace
- Spectre
.Console .Cli .Unsafe - Interfaces
Methods
-
abstract void AddExample
(string[]) - Adds an example of how to use the branch.
-
abstract void SetDescription
(string) - Sets the description of the branch.
Extension Methods
-
T And
< I Unsafe Branch Configurator> (Action < I Unsafe Branch Configurator> ) - Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.
-
IConfigurator SafetyOn
() -
Converts an
IUnsafeConfigurator
to a configurator with type safety. -
IConfigurator<TSettings> SafetyOn
<TSettings> () -
Converts an
IUnsafeConfigurator
to a configurator with type safety.