ImmutableArrayExtensions.Where<T>(ImmutableArray<T>, Func<T,Boolean>) 메서드

정의

조건자에 따라 값의 시퀀스를 필터링합니다.Filters a sequence of values based on a predicate.

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<T> ^ Where(System::Collections::Immutable::ImmutableArray<T> immutableArray, Func<T, bool> ^ predicate);
public static System.Collections.Generic.IEnumerable<T> Where<T> (this System.Collections.Immutable.ImmutableArray<T> immutableArray, Func<T,bool> predicate);
static member Where : System.Collections.Immutable.ImmutableArray<'T> * Func<'T, bool> -> seq<'T>
<Extension()>
Public Function Where(Of T) (immutableArray As ImmutableArray(Of T), predicate As Func(Of T, Boolean)) As IEnumerable(Of T)

형식 매개 변수

T

컬렉션에 의해 포함되는 요소의 형식입니다.The type of element contained by the collection.

매개 변수

immutableArray
ImmutableArray<T>

필터링할 배열입니다.The array to filter.

predicate
Func<T,Boolean>

배열 내용을 필터링하는 데 사용할 조건입니다.The condition to use for filtering the array content.

반환

조건을 충족하는 요소가 포함된 IEnumerable<T>을 반환합니다.Returns IEnumerable<T> that contains elements that meet the condition.

적용 대상