Skip to content

Commit 2e0535a

Browse files
Update Program.cs
1 parent 116f547 commit 2e0535a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Program.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace OrbitalShell.Module.{ModuleID}
1818
[Commands("{ModuleDescription} module commands")]
1919
[CommandsNamespace(CommandNamespace.tools, ToolNamespace)]
2020
[Hooks]
21-
public class {ModuleID} : ICommandsDeclaringType
21+
public class {ModuleID}Commands : ICommandsDeclaringType
2222
{
2323
#region attributes
2424

@@ -52,7 +52,7 @@ public void Init(CommandEvaluationContext context)
5252
/// enable or disable module
5353
/// </summary>
5454
[Command("enable/disable module {ModuleTitle}")]
55-
public CommandVoidResult {ModuleID}Com(
55+
public CommandVoidResult {ModuleID}(
5656
CommandEvaluationContext context,
5757
[Option("e", "enable", "if true enable the module, otherwise disable it", true, true)] bool isEnabled = true
5858
)
@@ -65,4 +65,4 @@ public void Init(CommandEvaluationContext context)
6565

6666
#endregion
6767
}
68-
}
68+
}

0 commit comments

Comments
 (0)