基线 SVN r240

SVN-Revision: r240
This commit is contained in:
cyf
2025-02-06 06:46:06 +00:00
commit ab56a9bcf7
5317 changed files with 902274 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lskj.Push.Util
{
class Preconditions
{
public static void checkArgument(bool expression)
{
if (!expression)
{
throw new ArgumentNullException();
}
}
public static void checkArgument(bool expression, object errorMessage)
{
if (!expression)
{
throw new ArgumentException(errorMessage.ToString());
}
}
}
}