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); });
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; })); }
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; }); }
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; }); }