forked from QuantConnect/Lean
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CommandLineOption.cs
35 lines (31 loc) · 928 Bytes
/
CommandLineOption.cs
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
using McMaster.Extensions.CommandLineUtils;
namespace QuantConnect.Configuration
{
/// <summary>
/// Auxiliary class to keep information about a specific command line option
/// </summary>
public class CommandLineOption
{
/// <summary>
/// Command line option type
/// </summary>
public CommandOptionType Type { get; }
/// <summary>
/// Command line option description
/// </summary>
public string Description { get; }
/// <summary>
/// Command line option name
/// </summary>
public string Name { get; }
/// <summary>
/// Command line option contructor
/// </summary>
public CommandLineOption(string name, CommandOptionType type, string description = "")
{
Type = type;
Description = description;
Name = name;
}
}
}