FlagValue<T> Class
Implementation of a flag with an optional value.
public sealed class FlagValue<T> : IFlagValue
- Namespace
- Spectre
.Console .Cli - Interfaces
Parameters
-
T
- The flag's element type.
Properties
Methods
-
override string ToString
()
Extension Methods
-
T And
<FlagValue <T> > (Action <FlagValue <T> > ) - 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.