|
const string | ErrorMessage = "At least one option in a group must have value." |
|
Definition at line 544 of file Error.cs.
◆ MissingGroupOptionError()
CommandLine.MissingGroupOptionError.MissingGroupOptionError |
( |
string |
group, |
|
|
IEnumerable< NameInfo > |
names |
|
) |
| |
|
package |
Definition at line 548 of file Error.cs.
549 : base(
ErrorType.MissingGroupOptionError)
550 {
553 }
IEnumerable< NameInfo > Names
ErrorType
Discriminator enumeration of CommandLine.Error derivates.
◆ Equals() [1/2]
new bool CommandLine.MissingGroupOptionError.Equals |
( |
Error |
obj | ) |
|
Definition at line 561 of file Error.cs.
562 {
564
565 if (other != null)
566 {
568 }
569
570 return base.Equals(obj);
571 }
MissingGroupOptionError(string group, IEnumerable< NameInfo > names)
new bool Equals(Error obj)
◆ Equals() [2/2]
Definition at line 577 of file Error.cs.
578 {
579 if (other == null)
580 {
581 return false;
582 }
583
584 return Group.Equals(other.Group) &&
Names.SequenceEqual(other.Names);
585 }
◆ ErrorMessage
const string CommandLine.MissingGroupOptionError.ErrorMessage = "At least one option in a group must have value." |
|
static |
◆ Group
string CommandLine.MissingGroupOptionError.Group |
|
get |
◆ Names
IEnumerable<NameInfo> CommandLine.MissingGroupOptionError.Names |
|
get |
The documentation for this class was generated from the following file:
- deps/commandlineparser/src/CommandLine/Error.cs