Show / Hide Table of Contents

Struct RandomAccessCache.StringKey

Represents string as a key for RandomAccessCache<TValue>.

Implements
ISupplier<ReadOnlySpan<byte>>
IFunctional
Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: DotNext.Runtime.Caching
Assembly: DotNext.Threading.dll
Syntax
public readonly struct RandomAccessCache.StringKey : ISupplier<ReadOnlySpan<byte>>, IFunctional

Constructors

View Source

StringKey(string?)

Represents string as a key for RandomAccessCache<TValue>.

Declaration
public StringKey(string? key)
Parameters
Type Name Description
string key

The key.

Operators

View Source

implicit operator ReadOnlySpan<byte>(StringKey)

Converts this key to ReadOnlySpan<T> over char.

Declaration
public static implicit operator ReadOnlySpan<byte>(RandomAccessCache.StringKey key)
Parameters
Type Name Description
RandomAccessCache.StringKey key

The key to convert.

Returns
Type Description
ReadOnlySpan<byte>

ReadOnlySpan<T> over char which represents the key.

Implements

ISupplier<TResult>
IFunctional

Extension Methods

BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, params ReadOnlySpan<T>)
Enumerator.Skip<TEnumerator, T>(ref TEnumerator, int)
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾