ImmutableArrayExtensions.All<T> 메서드

정의

이 배열의 모든 요소가 지정된 조건과 일치하는지 여부를 나타내는 값을 가져옵니다.

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

형식 매개 변수

T

컬렉션에 의해 포함되는 요소의 형식입니다.

매개 변수

immutableArray
ImmutableArray<T>

일치하는 항목을 확인할 배열입니다.

predicate
Func<T,Boolean>

조건자입니다.

반환

Boolean

원본 시퀀스의 모든 요소가 지정된 조건자의 테스트를 통과하면 true이고, 그렇지 않으면 false입니다.

적용 대상