Files
SabreTools/RombaSharp/Features/Memstats.cs

35 lines
930 B
C#
Raw Normal View History

2020-08-01 13:25:32 -07:00
using System.Collections.Generic;
2020-12-07 13:57:26 -08:00
using SabreTools.Help;
2020-08-01 13:25:32 -07:00
namespace RombaSharp.Features
{
internal class Memstats : BaseFeature
{
public const string Value = "Memstats";
public Memstats()
{
Name = Value;
Flags = new List<string>() { "memstats" };
Description = "Prints memory stats.";
2020-12-07 13:57:26 -08:00
_featureType = ParameterType.Flag;
2020-08-01 13:25:32 -07:00
LongDescription = "Print memory stats.";
Features = new Dictionary<string, Feature>();
2021-02-03 11:10:19 -08:00
// Common Features
AddCommonFeatures();
2020-08-01 13:25:32 -07:00
}
2021-03-19 20:52:11 -07:00
public override bool ProcessFeatures(Dictionary<string, Feature> features)
2020-08-01 13:25:32 -07:00
{
2021-03-19 20:52:11 -07:00
// If the base fails, just fail out
if (!base.ProcessFeatures(features))
return false;
logger.User("This feature is not yet implemented: memstats");
2021-03-19 20:52:11 -07:00
return true;
2020-08-01 13:25:32 -07:00
}
}
}