Esempio n. 1
0
 public IDebuggerEvent[] GetEvents(string name, bool checkBaseClasses) => debugger.Dispatcher.UI(() => {
     var events = CorClass.FindEvents(name, checkBaseClasses).ToList();
     var res    = new IDebuggerEvent[events.Count];
     for (int i = 0; i < res.Length; i++)
     {
         res[i] = new DebuggerEvent(debugger, events[i]);
     }
     return(res);
 });
Esempio n. 2
0
 public IDebuggerEvent[] GetEvents(bool checkBaseClasses)
 {
     if (!checkBaseClasses)
     {
         return(Events);
     }
     return(debugger.Dispatcher.UI(() => {
         var events = CorClass.FindEvents(checkBaseClasses).ToList();
         var res = new IDebuggerEvent[events.Count];
         for (int i = 0; i < res.Length; i++)
         {
             res[i] = new DebuggerEvent(debugger, events[i]);
         }
         return res;
     }));
 }
Esempio n. 3
0
 public IDebuggerEvent[] GetEvents(string name, bool checkBaseClasses)
 {
     return debugger.Dispatcher.UI(() => {
         var events = type.FindEvents(name, checkBaseClasses).ToList();
         var res = new IDebuggerEvent[events.Count];
         for (int i = 0; i < res.Length; i++)
             res[i] = new DebuggerEvent(debugger, events[i]);
         return res;
     });
 }
Esempio n. 4
0
		public IDebuggerEvent[] GetEvents(bool checkBaseClasses) {
			if (!checkBaseClasses)
				return Events;
			return debugger.Dispatcher.UI(() => {
				var events = cls.FindEvents(checkBaseClasses).ToList();
				var res = new IDebuggerEvent[events.Count];
				for (int i = 0; i < res.Length; i++)
					res[i] = new DebuggerEvent(debugger, events[i]);
				return res;
			});
		}