public IDebuggerProperty[] GetProperties(bool checkBaseClasses) { if (!checkBaseClasses) { return(Properties); } return(debugger.Dispatcher.UI(() => { var props = cls.FindProperties(checkBaseClasses).ToList(); var res = new IDebuggerProperty[props.Count]; for (int i = 0; i < res.Length; i++) { res[i] = new DebuggerProperty(debugger, props[i]); } return res; })); }
public IDebuggerProperty[] GetProperties(string name, bool checkBaseClasses) => debugger.Dispatcher.UI(() => { var props = CorClass.FindProperties(name, checkBaseClasses).ToList(); var res = new IDebuggerProperty[props.Count]; for (int i = 0; i < res.Length; i++) { res[i] = new DebuggerProperty(debugger, props[i]); } return(res); });