예제 #1
0
 internal RepeatedOptionError(NameInfo nameInfo)
     : base(ErrorType.RepeatedOptionError, nameInfo)
 {
 }
예제 #2
0
 internal SetValueExceptionError(NameInfo nameInfo, Exception exception, object value)
     : base(ErrorType.SetValueExceptionError, nameInfo)
 {
     this.exception = exception;
     this.value     = value;
 }
예제 #3
0
 internal BadFormatConversionError(NameInfo nameInfo)
     : base(ErrorType.BadFormatConversionError, nameInfo)
 {
 }
예제 #4
0
 internal SequenceOutOfRangeError(NameInfo nameInfo)
     : base(ErrorType.SequenceOutOfRangeError, nameInfo)
 {
 }
예제 #5
0
 internal MutuallyExclusiveSetError(NameInfo nameInfo, string setName)
     : base(ErrorType.MutuallyExclusiveSetError, nameInfo)
 {
     this.setName = setName;
 }
예제 #6
0
 internal MissingRequiredOptionError(NameInfo nameInfo)
     : base(ErrorType.MissingRequiredOptionError, nameInfo)
 {
 }
예제 #7
0
 internal MissingValueOptionError(NameInfo nameInfo)
     : base(ErrorType.MissingValueOptionError, nameInfo)
 {
 }
예제 #8
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CommandLine.NamedError"/> class.
        /// </summary>
        /// <param name="tag">Error type.</param>
        /// <param name="nameInfo">Problematic name.</param>

        protected internal NamedError(ErrorType tag, NameInfo nameInfo)
            : base(tag)
        {
            this.nameInfo = nameInfo;
        }
예제 #9
0
 internal MutuallyExclusiveSetError(NameInfo nameInfo)
     : base(ErrorType.MutuallyExclusiveSetError, nameInfo)
 {
 }