MemoryExtensions.ContainsAnyExceptInRange Método

Definición

Sobrecargas

ContainsAnyExceptInRange<T>(ReadOnlySpan<T>, T, T)

Busca cualquier valor fuera del intervalo entre lowInclusive y highInclusive, ambos incluidos.

ContainsAnyExceptInRange<T>(Span<T>, T, T)

Busca cualquier valor fuera del intervalo entre lowInclusive y highInclusive, ambos incluidos.

ContainsAnyExceptInRange<T>(ReadOnlySpan<T>, T, T)

Source:
MemoryExtensions.cs
Source:
MemoryExtensions.cs

Busca cualquier valor fuera del intervalo entre lowInclusive y highInclusive, ambos incluidos.

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

Parámetros de tipo

T

Parámetros

span
ReadOnlySpan<T>

Intervalo que se va a buscar.

lowInclusive
T

Límite inferior, inclusivo, del intervalo excluido.

highInclusive
T

Límite superior, inclusivo, del intervalo excluido.

Devoluciones

true si hay algún valor distinto de los del intervalo especificado está presente en el intervalo. Si todos los valores están dentro del intervalo especificado, devuelve false.

Se aplica a

ContainsAnyExceptInRange<T>(Span<T>, T, T)

Source:
MemoryExtensions.cs
Source:
MemoryExtensions.cs

Busca cualquier valor fuera del intervalo entre lowInclusive y highInclusive, ambos incluidos.

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

Parámetros de tipo

T

Parámetros

span
Span<T>

Intervalo que se va a buscar.

lowInclusive
T

Límite inferior, inclusivo, del intervalo excluido.

highInclusive
T

Límite superior, inclusivo, del intervalo excluido.

Devoluciones

true si hay algún valor distinto de los del intervalo especificado está presente en el intervalo. Si todos los valores están dentro del intervalo especificado, devuelve false.

Se aplica a