コード例 #1
0
ファイル: ConsentPlugin.cs プロジェクト: drcd/Moduthulhu
 public override void Initialize()
 {
     _consentCommand = new ConsentCommand()
     {
         ParentPlugin = this
     };
     SendMessage("Lomztein-Command Root", "AddCommand", _consentCommand);
 }
コード例 #2
0
ファイル: ConsentPlugin.cs プロジェクト: Lomztein/Moduthulhu
        public override void Initialize()
        {
            _consentCommand = new ConsentCommand {
                ParentPlugin = this
            };
            _requestCommand = new RequestDataCommand {
                ParentPlugin = this
            };
            _deleteCommand = new DeleteDataCommand {
                ParentPlugin = this
            };

            SendMessage("Moduthulhu-Command Root", "AddCommand", _consentCommand);
            SendMessage("Moduthulhu-Command Root", "AddCommand", _requestCommand);
            SendMessage("Moduthulhu-Command Root", "AddCommand", _deleteCommand);
        }