7 references to Choice
Microsoft.TemplateEngine.Cli (7)
ChoiceTemplateParameter.cs (2)
25
throw new ArgumentException($"{nameof(parameter)} should have {nameof(parameter.Type)} {nameof(ParameterType.
Choice
)}");
40
internal override ParameterType Type => ParameterType.
Choice
;
CliTemplateParameter.cs (3)
150
|| (Type == ParameterType.String || Type == ParameterType.
Choice
) && DefaultValue != null)
290
ParameterType.
Choice
=> "choice",
304
"choice" => ParameterType.
Choice
,
Commands\create\CombinedChoiceTemplateParameter.cs (2)
32
if (parameter.Type != ParameterType.
Choice
)
34
throw new ArgumentException($"{nameof(parameter)} should have {nameof(parameter.Type)} {nameof(ParameterType.
Choice
)}");