EnumerableExtensions.GetGesturesFor<T> 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
供 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