1 write to LongName
Microsoft.ML.Core (1)
CommandLine\CmdParser.cs (1)
1430LongName = name;
20 references to LongName
Microsoft.ML.Core (20)
CommandLine\CmdParser.cs (20)
478throw Contracts.Except($"Duplicate default argument '{def.LongName}' vs '{field.Name}'"); 530string name = def.LongName.ToLowerInvariant(); 627Report("Error: Tag not allowed for option '{0}'", arg.LongName); 646Report("Error: Need a value for option '{0}'", arg.LongName); 1221public string LongName { get { return _arg.LongName; } } 1533owner.Report("Duplicate component kind for argument {0}", LongName); 1556owner.Report("There was an error creating the ComponentFactory. Ensure '{0}' is configured correctly.", LongName); 1587owner.Report("There was an error creating the ComponentFactory. Ensure '{0}' is configured correctly.", LongName); 1622owner.Report("There was an error creating the ComponentFactory. Ensure '{0}' is configured correctly.", LongName); 1660owner.Report("Missing required argument '<{0}>'.", LongName); 1662owner.Report("Missing required argument '{0}'.", LongName); 1668owner.Report("Duplicate '{0}' argument '{1}'", LongName, value); 1677owner.Report("Duplicate '{0}' argument: '{1}' then '{2}'", LongName, val.FirstValue, value); 1687owner.Report("Tags aren't allowed for '{0}' argument", LongName); 1727return Utils.Size(ShortNames) != 0 ? ShortNames[0] : LongName; 1728return LongName; 1733owner.Report("'{0}' is not a valid value for the '{1}' command line option", value, LongName); 1772owner.Report("Expected arguments in curly braces for '{0}'", LongName); 2172bldr.Append("<").Append(LongName).Append(">"); 2175bldr.Append(LongName);