BadScript 2
Loading...
Searching...
No Matches
CommandLine.MutuallyExclusiveSetError Class Referencesealed

Models an error generated when a an option from another set is defined. More...

Inheritance diagram for CommandLine.MutuallyExclusiveSetError:
CommandLine.NamedError CommandLine.Error

Package Functions

 MutuallyExclusiveSetError (NameInfo nameInfo, string setName)
 
- Package Functions inherited from CommandLine.NamedError
 NamedError (ErrorType tag, NameInfo nameInfo)
 Initializes a new instance of the CommandLine.NamedError class.
 
- Package Functions inherited from CommandLine.Error
 Error (ErrorType tag, bool stopsProcessing)
 Initializes a new instance of the CommandLine.Error class.
 
 Error (ErrorType tag)
 Initializes a new instance of the CommandLine.Error class.
 

Properties

string SetName [get]
 Option's set name.
 
- Properties inherited from CommandLine.NamedError
NameInfo NameInfo [get]
 Name information relative to this error instance.
 
- Properties inherited from CommandLine.Error
ErrorType Tag [get]
 Error type discriminator, defined as CommandLine.ErrorType enumeration.
 
bool StopsProcessing [get]
 Tells if error stops parsing process. Filtered by CommandLine.ErrorExtensions.OnlyMeaningfulOnes(System.Collections.Generic.IEnumerable<Error>).
 

Additional Inherited Members

- Public Member Functions inherited from CommandLine.NamedError
bool Equals (NamedError other)
 Returns a value that indicates whether the current instance and a specified CommandLine.NamedError have the same value.
 
override bool Equals (object obj)
 Determines whether the specified System.Object is equal to the current System.Object.
 
override int GetHashCode ()
 Serves as a hash function for a particular type.
 
- Public Member Functions inherited from CommandLine.Error
bool Equals (Error other)
 Returns a value that indicates whether the current instance and a specified CommandLine.Error have the same value.
 
override bool Equals (object obj)
 Determines whether the specified System.Object is equal to the current System.Object.
 
override int GetHashCode ()
 Serves as a hash function for a particular type.
 

Detailed Description

Models an error generated when a an option from another set is defined.

Definition at line 400 of file Error.cs.

Constructor & Destructor Documentation

◆ MutuallyExclusiveSetError()

CommandLine.MutuallyExclusiveSetError.MutuallyExclusiveSetError ( NameInfo  nameInfo,
string  setName 
)
package

Definition at line 402 of file Error.cs.

403 : base(ErrorType.MutuallyExclusiveSetError, nameInfo)
404 {
405 SetName = setName;
406 }
string SetName
Option's set name.
Definition Error.cs:411
ErrorType
Discriminator enumeration of CommandLine.Error derivates.
Definition Error.cs:13

Property Documentation

◆ SetName

string CommandLine.MutuallyExclusiveSetError.SetName
get

Option's set name.

Definition at line 411 of file Error.cs.

411{ get; }

The documentation for this class was generated from the following file: