IUtf8SpanParsable<TSelf> 介面

定義

定義將 UTF-8 字元範圍剖析為值的機制。

generic <typename TSelf>
 where TSelf : IUtf8SpanParsable<TSelf>public interface class IUtf8SpanParsable
public interface IUtf8SpanParsable<TSelf> where TSelf : IUtf8SpanParsable<TSelf>
type IUtf8SpanParsable<'Self (requires 'Self :> IUtf8SpanParsable<'Self>)> = interface
Public Interface IUtf8SpanParsable(Of TSelf)

類型參數

TSelf

實作這個介面的類型。

衍生

方法

Parse(ReadOnlySpan<Byte>, IFormatProvider)

將 UTF-8 字元的範圍剖析為值。

TryParse(ReadOnlySpan<Byte>, IFormatProvider, TSelf)

嘗試將 UTF-8 字元的範圍剖析為值。

適用於