TryGetValue(CommandParameterContext, object) Method
Gets a value for the parameter.
public abstract bool TryGetValue(CommandParameterContext context, out object result)
- Namespace
- Spectre
.Console .Cli - Containing Type
- Parameter
Value Provider Attribute
Parameters
-
Command
Parameter contextContext - The parameter context.
- object result
- The resulting value.
Returns
- bool