示例#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)
 {
 }