This commit is contained in:
xuejiaming 2021-09-03 16:03:04 +08:00
parent f322eaa0b3
commit fbc2eb492b
1 changed files with 7 additions and 1 deletions

View File

@ -11,7 +11,13 @@ namespace ShardingCore.Core
public class Check
{
private Check(){}
/// <summary>
///
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="value"></param>
/// <param name="parameterName"></param>
/// <returns></returns>
public static T NotNull<T>(T value,string parameterName)
{
if(value==null)