Example #1
0
 /// <summary>
 /// Invokes a method on the object returned by the query, using the <see cref="IAppQuery.Invoke(string, object)"/> method.
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="query"></param>
 /// <param name="methodName"></param>
 /// <param name="arg1"></param>
 /// <returns></returns>
 public static IAppTypedSelector <object> InvokeGeneric(this IAppQuery query, string methodName, object arg1)
 => query.Invoke(FormatBackdoorMethodName(methodName), arg1);
Example #2
0
 public static IAppTypedSelector <object> SetDependencyPropertyValue(this IAppQuery query, string dependencyPropertyName, string value) => query
 .Invoke(FormatBackdoorMethodName(
             "browser:Uno.UI.WindowManager.current|SetDependencyPropertyValue"),
         dependencyPropertyName + "|" + value);