void ModuleLoaded(object sender, ModuleEventArgs e)
        {
            DebuggerModuleModel model = new DebuggerModuleModel(e.Module);

            moduleModels.Add(model);
            Assemblies.Add(model.AssemblyModel);
        }
        void ModuleUnloaded(object sender, ModuleEventArgs e)
        {
            DebuggerModuleModel deletedModel = moduleModels.FirstOrDefault(mm => mm.Module == e.Module);

            if (deletedModel != null)
            {
                moduleModels.Remove(deletedModel);
                Assemblies.Remove(deletedModel.AssemblyModel);
            }
        }
Exemplo n.º 3
0
		void ModuleLoaded(object sender, ModuleEventArgs e)
		{
			DebuggerModuleModel model = new DebuggerModuleModel(e.Module);
			moduleModels.Add(model);
			Assemblies.Add(model.AssemblyModel);
		}
Exemplo n.º 4
0
		public DebuggerModuleTreeNode(DebuggerModuleModel model)
			: base(model.AssemblyModel)
		{
			this.module = model.Module;
		}
 public DebuggerModuleTreeNode(DebuggerModuleModel model)
     : base(model.AssemblyModel)
 {
     this.module = model.Module;
 }