mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Minor optimization
This commit is contained in:
@@ -16,10 +16,6 @@ namespace SabreTools.Help
|
|||||||
|
|
||||||
#region Constructors
|
#region Constructors
|
||||||
|
|
||||||
public FeatureSet()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public FeatureSet(List<string> header)
|
public FeatureSet(List<string> header)
|
||||||
{
|
{
|
||||||
_header.AddRange(header);
|
_header.AddRange(header);
|
||||||
@@ -273,7 +269,7 @@ namespace SabreTools.Help
|
|||||||
/// <param name="key">Name that should be assigned to the feature</param>
|
/// <param name="key">Name that should be assigned to the feature</param>
|
||||||
/// <param name="feature">Feature with possible subfeatures to test</param>
|
/// <param name="feature">Feature with possible subfeatures to test</param>
|
||||||
/// <returns>List of Features representing what is enabled</returns>
|
/// <returns>List of Features representing what is enabled</returns>
|
||||||
private Dictionary<string, Feature?> GetEnabledSubfeatures(string key, Feature? feature)
|
private static Dictionary<string, Feature?> GetEnabledSubfeatures(string key, Feature? feature)
|
||||||
{
|
{
|
||||||
Dictionary<string, Feature?> enabled = [];
|
Dictionary<string, Feature?> enabled = [];
|
||||||
|
|
||||||
@@ -304,7 +300,6 @@ namespace SabreTools.Help
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Write out the help text with pauses, if needed
|
/// Write out the help text with pauses, if needed
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="helptext"></param>
|
|
||||||
private static void WriteOutWithPauses(List<string> helptext)
|
private static void WriteOutWithPauses(List<string> helptext)
|
||||||
{
|
{
|
||||||
// Now output based on the size of the screen
|
// Now output based on the size of the screen
|
||||||
|
|||||||
Reference in New Issue
Block a user