コマンドを実行する
コマンドを実行する
IApplicationオブジェクトのExecuteCommandメソッドを用いて、エクステンションで定義したコマンドを指定して実行することができます。
public void ExecuteCommand(ICommandContext c, ICommandParams p)
{
    // 別のエクステンションで定義されているコマンドの識別子を指定します
    var commandIdentifier = "Command.SayHello";
    // コマンドを実行します
    c.App.ExecuteCommand(commandIdentifier);
}