예제 #1
0
 protected override void Execute()
 {
     try
     {
         _manager.RegisterProtocolHandler("qwerty", "Simple Qwerty protocol", _plugin.Callback);
     }
     catch (Exception exception)
     {
         _exception = exception;
     }
 }
예제 #2
0
 [Test] public void TestWrongParameter1()
 {
     _manager.RegisterProtocolHandler(null, null, _plugin.Callback);
 }
예제 #3
0
 [Test] public void RegisterProtocolHandler()
 {
     _manager.RegisterProtocolHandler("querty", "QQQ", _plugin.Callback);
 }