SearchValuesPolyfillT Class

The class is a polyfill for the System.Buffers.SearchValues<Char> class. It hasn't the same excellent performance as the System.Buffers.SearchValues<T> class when used with framework versions lower than .NET 8.0.

Definition

Namespace: FolkerKinzel.Strings
Assembly: FolkerKinzel.Strings (in FolkerKinzel.Strings.dll) Version: 9.4.0+10a7d4d71aa960998e32ac0ac6c4fcbe4164c917
C#
public class SearchValuesPolyfill<T>
where T : Object, IEquatable<T>
Inheritance
Object    SearchValuesPolyfillT

Type Parameters

T
Generic type parameter. Only Char is currently supported.

Methods

Contains Searches for the specified value.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also