void LoadEngine()
 {
     if (!gotEngine)
     {
         gotEngine = true;
         engine    = (IDebuggerEngine)node.GetInstance();
     }
 }
Exemplo n.º 2
0
 void LoadEngine()
 {
     if (!gotEngine)
     {
         gotEngine = true;
         var ob = node.GetInstance();
                         #pragma warning disable 618
         var legacyEngine = ob as IDebuggerEngine;
                         #pragma warning restore 618
         if (legacyEngine != null)
         {
             engine = new LegacyDebuggerEngineBackend(legacyEngine);
         }
         else
         {
             engine = (DebuggerEngineBackend)node.GetInstance();
         }
     }
 }