示例#1
0
 void DbgLanguageService_LanguageChanged(object sender, DbgLanguageChangedEventArgs e)
 {
     if (e.RuntimeKindGuid == PredefinedDbgRuntimeKindGuids.DotNet_Guid)
     {
         SetDecompiler(e.Language);
     }
 }
示例#2
0
        void DbgLanguageService_LanguageChanged(object sender, DbgLanguageChangedEventArgs e)
        {
            var thread = dbgManager.Value.CurrentThread.Current;

            if (thread == null || thread.Runtime.RuntimeKindGuid != e.RuntimeKindGuid)
            {
                return;
            }
            UI(() => RefreshNodes_UI());
        }