Beispiel #1
0
        private static object GetPropValue(Signal user, string prop)
        {
            PropertyInfo propInfo = s_properties[prop];

            return(propInfo.GetGetMethod(false).Invoke(user, null));
        }
Beispiel #2
0
 public static bool Apply(Signal user, string op, string prop, object target)
 {
     return(s_operators[op](user.value, target));
 }