using System.Collections.Generic; namespace TGServerService.ChatCommands { /// /// Retrieve the current service version /// sealed class VersionCommand : ChatCommand { /// /// Construct a /// public VersionCommand() { Keyword = "version"; } /// protected override ExitCode Run(IList parameters) { OutputProc(Instance.Version()); return ExitCode.Normal; } /// public override string GetHelpText() { return "Gets the running service version"; } } }