ISpanParseable<TSelf> Interface

Definition

Defines a mechanism for parsing a span of characters to a value.

generic <typename TSelf>
 where TSelf : ISpanParseable<TSelf>public interface class ISpanParseable : IParseable<TSelf>
[System.Runtime.Versioning.RequiresPreviewFeatures("Generic Math is in preview.", Url="https://aka.ms/dotnet-warnings/generic-math-preview")]
public interface ISpanParseable<TSelf> : IParseable<TSelf> where TSelf : ISpanParseable<TSelf>
[<System.Runtime.Versioning.RequiresPreviewFeatures("Generic Math is in preview.", Url="https://aka.ms/dotnet-warnings/generic-math-preview")>]
type ISpanParseable<'Self (requires 'Self :> ISpanParseable<'Self>)> = interface
    interface IParseable<'Self (requires 'Self :> ISpanParseable<'Self>)>
Public Interface ISpanParseable(Of TSelf)
Implements IParseable(Of TSelf)

Type Parameters

TSelf

The type that implements this interface.

Derived
Attributes
Implements

Methods

Parse(ReadOnlySpan<Char>, IFormatProvider)

Parses a span of characters into a value.

TryParse(ReadOnlySpan<Char>, IFormatProvider, TSelf)

Tries to parses a span of characters into a value.

Applies to