CommandSettings Class
Base class for command settings.
public abstract class CommandSettings
- Namespace
- Spectre
.Console .Cli - Derived Types
Methods
-
virtual ValidationResult Validate
() - Performs validation of the settings.
Extension Methods
-
T And
< Command Settings> (Action < Command Settings> ) - 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.