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

Models as error generated when exception is thrown at Property.SetValue. More...

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

Package Functions

 SetValueExceptionError (NameInfo nameInfo, Exception exception, object value)
 
- 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

Exception Exception [get]
 The expection thrown from Property.SetValue.
 
object Value [get]
 The value that had to be set to the property.
 
- 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 as error generated when exception is thrown at Property.SetValue.

Definition at line 512 of file Error.cs.

Constructor & Destructor Documentation

◆ SetValueExceptionError()

CommandLine.SetValueExceptionError.SetValueExceptionError ( NameInfo  nameInfo,
Exception  exception,
object  value 
)
package

Definition at line 514 of file Error.cs.

515 : base(ErrorType.SetValueExceptionError, nameInfo)
516 {
517 Exception = exception;
518 Value = value;
519 }
Exception Exception
The expection thrown from Property.SetValue.
Definition Error.cs:524
object Value
The value that had to be set to the property.
Definition Error.cs:529
ErrorType
Discriminator enumeration of CommandLine.Error derivates.
Definition Error.cs:13

Property Documentation

◆ Exception

Exception CommandLine.SetValueExceptionError.Exception
get

The expection thrown from Property.SetValue.

Definition at line 524 of file Error.cs.

524{ get; }

◆ Value

object CommandLine.SetValueExceptionError.Value
get

The value that had to be set to the property.

Definition at line 529 of file Error.cs.

529{ get; }

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