Share via


EnumerableExtensions.GetChildGesturesFor<T> 方法

定义

供 Xamarin.Forms 平台内部使用。

[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Xamarin.Forms.Internals.EnumerableExtensions/<GetChildGesturesFor>d__0`1))]
public static System.Collections.Generic.IEnumerable<T> GetChildGesturesFor<T> (this System.Collections.Generic.IEnumerable<Xamarin.Forms.GestureElement> elements, Func<T,bool> predicate = default) where T : Xamarin.Forms.GestureRecognizer;
static member GetChildGesturesFor : seq<Xamarin.Forms.GestureElement> * Func<'T, bool (requires 'T :> Xamarin.Forms.GestureRecognizer)> -> seq<'T (requires 'T :> Xamarin.Forms.GestureRecognizer)> (requires 'T :> Xamarin.Forms.GestureRecognizer)

类型参数

T

供 Xamarin.Forms 平台内部使用。

参数

elements
System.Collections.Generic.IEnumerable<GestureElement>

供 Xamarin.Forms 平台内部使用。

predicate
System.Func<T,System.Boolean>

供 Xamarin.Forms 平台内部使用。

返回

System.Collections.Generic.IEnumerable<T>

供 Xamarin.Forms 平台内部使用。

属性
System.Runtime.CompilerServices.IteratorStateMachineAttribute

适用于