Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ISpanParseable.cs
Go to the documentation of this file.
2
3namespace System;
4
5[RequiresPreviewFeatures("Generic Math is in preview.", Url = "https://aka.ms/dotnet-warnings/generic-math-preview")]
6public interface ISpanParseable<TSelf> : IParseable<TSelf> where TSelf : ISpanParseable<TSelf>
7{
8 static abstract TSelf Parse(ReadOnlySpan<char> s, IFormatProvider? provider);
9
10 static abstract bool TryParse(ReadOnlySpan<char> s, IFormatProvider? provider, out TSelf result);
11}
static bool TryParse(ReadOnlySpan< char > s, IFormatProvider? provider, out TSelf result)
static TSelf Parse(ReadOnlySpan< char > s, IFormatProvider? provider)