-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathCommandLineParserError.cs
More file actions
52 lines (51 loc) · 2.03 KB
/
Copy pathCommandLineParserError.cs
File metadata and controls
52 lines (51 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
namespace BytecodeApi.CommandLineParser;
/// <summary>
/// Specifies a validation source for a <see cref="CommandLineParserException" />, if validated using the <see cref="ParsedOptionSet.Assert" /> object.
/// </summary>
public enum CommandLineParserError
{
/// <summary>
/// The exception is a general error that did not occur during validation using the <see cref="ParsedOptionSet.Assert" /> object.
/// </summary>
None,
/// <summary>
/// The exception occurred in the <see cref="ParsedOptionSet.AssertHelper.OptionRequired(string)" /> method.
/// </summary>
OptionRequired,
/// <summary>
/// The exception occurred in the <see cref="ParsedOptionSet.AssertHelper.OptionNotDuplicate(string)" /> method.
/// </summary>
OptionNotDuplicate,
/// <summary>
/// The exception occurred in the <see cref="ParsedOptionSet.AssertHelper.ValueCount(string, int)" /> method.
/// </summary>
ValueCount,
/// <summary>
/// The exception occurred in the <see cref="ParsedOptionSet.AssertHelper.MinimumValueCount(string, int)" /> method.
/// </summary>
MinimumValueCount,
/// <summary>
/// The exception occurred in the <see cref="ParsedOptionSet.AssertHelper.MaximumValueCount(string, int)" /> method.
/// </summary>
MaximumValueCount,
/// <summary>
/// The exception occurred in the <see cref="ParsedOptionSet.AssertHelper.Custom(string, Func{string[], bool})" /> method.
/// </summary>
Custom,
/// <summary>
/// The exception occurred in the <see cref="ParsedOptionSet.AssertHelper.Int32(string)" /> method.
/// </summary>
Int32,
/// <summary>
/// The exception occurred in the <see cref="ParsedOptionSet.AssertHelper.FileExists(string)" /> method.
/// </summary>
FileExists,
/// <summary>
/// The exception occurred in the <see cref="ParsedOptionSet.AssertHelper.DirectoryExists(string)" /> method.
/// </summary>
DirectoryExists,
/// <summary>
/// The exception occurred in the <see cref="ParsedOptionSet.AssertHelper.FileExtension(string, string[])" /> method.
/// </summary>
FileExtension
}