forked from BornToBeRoot/NETworkManager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRunCommandInfo.cs
More file actions
36 lines (29 loc) · 774 Bytes
/
Copy pathRunCommandInfo.cs
File metadata and controls
36 lines (29 loc) · 774 Bytes
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
namespace NETworkManager;
public class RunCommandInfo
{
public RunCommandType Type { get; init; }
/// <summary>
/// Name.
/// </summary>
public string Name { get; init; }
/// <summary>
/// Translated name.
/// </summary>
public string TranslatedName { get; init; }
/// <summary>
/// Command to run.
/// </summary>
public string Command { get; set; }
/// <summary>
/// Indicates whether (optional) arguments can be passed.
/// </summary>
public bool CanHandleArguments { get; init; }
/// <summary>
/// Example arguments.
/// </summary>
public string ExampleArguments { get; set; }
public override string ToString()
{
return $"{Command}";
}
}