EnumerableExtensions.GetGesturesFor<T> 方法

定义

供 Xamarin.Forms 平台内部使用。

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

类型参数

T

供 Xamarin.Forms 平台内部使用。

参数

gestures
System.Collections.Generic.IEnumerable<IGestureRecognizer>

供 Xamarin.Forms 平台内部使用。

predicate
System.Func<T,System.Boolean>

供 Xamarin.Forms 平台内部使用。

返回

System.Collections.Generic.IEnumerable<T>

供 Xamarin.Forms 平台内部使用。

属性
System.Runtime.CompilerServices.IteratorStateMachineAttribute

适用于