internal void LoadedNewAssembly(CorAssembly assm, CorDebugAppDomain appDomain) { if (m_AssemblyLoadedNotification != null) { InnerObject innerObject = new InnerObject( m_AssemblyLoadedNotification, new LoadedAssemblyNotificationResult( m_ProcessID, assm.FullName, assm.Name, appDomain.Name) ); ThreadPool.QueueUserWorkItem(new WaitCallback(SendNotifications), innerObject); } }
void debug_AssemblyNotification(CorDebugAppDomain app, CorAssembly assm, bool isLoad) { ASSEMBLY assembly = new ASSEMBLY(); assembly.Name = assm.Name; assembly.Path = assm.Location; if (isLoad) { assembly.LoadedTime = DateTime.Now; }else{ assembly.UnloadedTime = DateTime.Now; } AssmNotification(assembly); }