MemoryExtensions.ContainsAnyInRange 메서드

정의

오버로드

Name Description
ContainsAnyInRange<T>(ReadOnlySpan<T>, T, T)

범위 lowInclusive 의 값과 highInclusive포함 값을 검색합니다.

ContainsAnyInRange<T>(Span<T>, T, T)

범위의 lowInclusive 모든 값을 검색하고 highInclusive, 포함하는 값을 검색하고, 찾은 경우 반환합니다 true . 찾을 수 없으면 .를 반환합니다 false.

ContainsAnyInRange<T>(ReadOnlySpan<T>, T, T)

Source:
MemoryExtensions.cs
Source:
MemoryExtensions.cs
Source:
MemoryExtensions.cs
Source:
MemoryExtensions.cs

범위 lowInclusive 의 값과 highInclusive포함 값을 검색합니다.

public:
generic <typename T>
 where T : IComparable<T>[System::Runtime::CompilerServices::Extension]
 static bool ContainsAnyInRange(ReadOnlySpan<T> span, T lowInclusive, T highInclusive);
public static bool ContainsAnyInRange<T>(this ReadOnlySpan<T> span, T lowInclusive, T highInclusive) where T : IComparable<T>;
static member ContainsAnyInRange : ReadOnlySpan<'T (requires 'T :> IComparable<'T>)> * 'T * 'T -> bool (requires 'T :> IComparable<'T>)
<Extension()>
Public Function ContainsAnyInRange(Of T As IComparable(Of T)) (span As ReadOnlySpan(Of T), lowInclusive As T, highInclusive As T) As Boolean

형식 매개 변수

T

매개 변수

span
ReadOnlySpan<T>

검색할 범위입니다.

lowInclusive
T

검색할 범위의 하한(포함)입니다.

highInclusive
T

검색할 범위의 상한(포함)입니다.

반품

true 을 찾은 경우 찾을 수 없으면 .를 반환합니다 false.

적용 대상

ContainsAnyInRange<T>(Span<T>, T, T)

Source:
MemoryExtensions.cs
Source:
MemoryExtensions.cs
Source:
MemoryExtensions.cs
Source:
MemoryExtensions.cs

범위의 lowInclusive 모든 값을 검색하고 highInclusive, 포함하는 값을 검색하고, 찾은 경우 반환합니다 true . 찾을 수 없으면 .를 반환합니다 false.

public:
generic <typename T>
 where T : IComparable<T>[System::Runtime::CompilerServices::Extension]
 static bool ContainsAnyInRange(Span<T> span, T lowInclusive, T highInclusive);
[System.Runtime.CompilerServices.OverloadResolutionPriority(-1)]
public static bool ContainsAnyInRange<T>(this Span<T> span, T lowInclusive, T highInclusive) where T : IComparable<T>;
public static bool ContainsAnyInRange<T>(this Span<T> span, T lowInclusive, T highInclusive) where T : IComparable<T>;
[<System.Runtime.CompilerServices.OverloadResolutionPriority(-1)>]
static member ContainsAnyInRange : Span<'T (requires 'T :> IComparable<'T>)> * 'T * 'T -> bool (requires 'T :> IComparable<'T>)
static member ContainsAnyInRange : Span<'T (requires 'T :> IComparable<'T>)> * 'T * 'T -> bool (requires 'T :> IComparable<'T>)
<Extension()>
Public Function ContainsAnyInRange(Of T As IComparable(Of T)) (span As Span(Of T), lowInclusive As T, highInclusive As T) As Boolean

형식 매개 변수

T

매개 변수

span
Span<T>

검색할 범위입니다.

lowInclusive
T

검색할 범위의 하한(포함)입니다.

highInclusive
T

검색할 범위의 상한(포함)입니다.

반품

true 을 찾은 경우 찾을 수 없으면 .를 반환합니다 false.

특성

적용 대상