public SeleniumAppTypedSelector(IAppQuery parent) { _parent = parent; }
public SeleniumAppTypedSelector(IAppQuery parent, Type selectorValueType, IEnumerable <AppTypedSelectorMethodInvocation> invocations) { _parent = parent; _selectorValueType = selectorValueType; _invocations.AddRange(invocations); }
/// <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);
public static IAppTypedSelector <object> SetDependencyPropertyValue(this IAppQuery query, string dependencyPropertyName, string value) => query .Invoke(FormatBackdoorMethodName( "browser:Uno.UI.WindowManager.current|SetDependencyPropertyValue"), dependencyPropertyName + "|" + value);
public static IAppQuery XamlParent(this IAppQuery query, string controlName) { return(query.Parent(PlatformHelpers.On(iOS: () => controlName.Replace(".", "_"), Android: () => GetAndroidName(controlName)))); }
public static AppQuery ToXamarinQuery(this IAppQuery q) => q is XamarinAppQuery xq ? xq.SourceQuery : throw new InvalidOperationException();
public FreelanceList(IAppQuery <TEntity> providerList) { ProviderList = providerList; }