This commit is contained in:
parent
2317a58f39
commit
9ade9ffa37
|
@ -0,0 +1,17 @@
|
|||
namespace Sanchime.Toolkits;
|
||||
|
||||
public static class Basic
|
||||
{
|
||||
|
||||
public static void WriteLine<T>(this T @this)
|
||||
{
|
||||
System.Console.WriteLine(@this);
|
||||
}
|
||||
|
||||
public static void WriteLine<T>(this T @this, Func<T, T> func)
|
||||
=> func(@this).WriteLine();
|
||||
|
||||
public static bool IsNullOrEmpty<T>(this string @this)
|
||||
=> string.IsNullOrEmpty(@this);
|
||||
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
Loading…
Reference in New Issue