Moved UI to separate project, added Dockerfile & renamed project
All checks were successful
Run the JSON parser tests / test (push) Has been skipped
All checks were successful
Run the JSON parser tests / test (push) Has been skipped
This commit is contained in:
10
Jtr.Parsing/Extensions/CastingExtensions.cs
Normal file
10
Jtr.Parsing/Extensions/CastingExtensions.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace Jtr.Parsing.Extensions;
|
||||
|
||||
public static class CastingExtensions
|
||||
{
|
||||
public static T As<T>(this object @object)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(@object);
|
||||
return (T)@object;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user