-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
27703cb
commit 9e52e84
Showing
6 changed files
with
64 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,31 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Collections.Generic; | ||
|
||
namespace Args.Help | ||
{ | ||
/// <summary> | ||
/// Holds help information for model members | ||
/// </summary> | ||
public class MemberHelp | ||
{ | ||
/// <summary> | ||
/// Name of the member | ||
/// </summary> | ||
public string Name { get; set; } | ||
/// <summary> | ||
/// List of switches configured for the member | ||
/// </summary> | ||
public IEnumerable<string> Switches { get; set; } | ||
/// <summary> | ||
/// The default value if no value is provided | ||
/// </summary> | ||
public string DefaultValue { get; set; } | ||
/// <summary> | ||
/// Help text for the member | ||
/// </summary> | ||
public string HelpText { get; set; } | ||
/// <summary> | ||
/// Ordinal position for the member | ||
/// </summary> | ||
public int? OrdinalIndex { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,23 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Collections.Generic; | ||
|
||
namespace Args.Help | ||
{ | ||
/// <summary> | ||
/// Holds help information for the model | ||
/// </summary> | ||
public class ModelHelp | ||
{ | ||
/// <summary> | ||
/// The delimited for the switches | ||
/// </summary> | ||
public string SwitchDelimiter { get; set; } | ||
/// <summary> | ||
/// List of members that are configured | ||
/// </summary> | ||
public IEnumerable<MemberHelp> Members { get; set; } | ||
/// <summary> | ||
/// Help text for the entire model | ||
/// </summary> | ||
public string HelpText { get; set; } | ||
} | ||
} |