Esempio n. 1
0
 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);
 });
Esempio n. 2
0
 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;
     }));
 }
Esempio n. 3
0
 public IDebuggerProperty[] GetProperties(string name, bool checkBaseClasses)
 {
     return debugger.Dispatcher.UI(() => {
         var props = type.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;
     });
 }
Esempio n. 4
0
		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;
			});
		}