private static object GetPropValue(Signal user, string prop) { PropertyInfo propInfo = s_properties[prop]; return(propInfo.GetGetMethod(false).Invoke(user, null)); }
public static bool Apply(Signal user, string op, string prop, object target) { return(s_operators[op](user.value, target)); }