1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-30 21:36:00 +02:00

added IParseable interface and applied it to all applicable types

This commit is contained in:
Booklordofthedings 2023-12-13 16:54:23 +01:00
parent 3e8d90d300
commit 0a6062ba02
18 changed files with 169 additions and 18 deletions

View file

@ -0,0 +1,11 @@
namespace System;
interface IParseable<T>
{
public static Result<T> Parse(StringView val);
}
interface IParseable<T, TErr>
{
public static Result<T,TErr> Parse(StringView val);
}