4 references to GetOptions
dotnet-getdocument (4)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (4)
171
option = command.
GetOptions
().SingleOrDefault(opt => string.Equals(opt.LongName, longOptionName, StringComparison.Ordinal));
250
option = command.
GetOptions
().SingleOrDefault(opt => string.Equals(opt.ShortName, shortOption[0], StringComparison.Ordinal));
274
option = command.
GetOptions
().SingleOrDefault(opt => string.Equals(opt.SymbolName, shortOption[0], StringComparison.Ordinal));
489
var options = target.
GetOptions
().Where(o => o.ShowInHelpText).ToList();