Example #1
0
 public static bool IsSameCount <T>(this IQueryable <T> source, IQueryable <T> that)
 {
     return(CollJudge.IsSameCount(source, that));
 }
 public static void ShouldBeNotEmpty(IEnumerable argument, string argumentName, string message = null)
 {
     ValidationExceptionHelper.WrapAndRaise <ArgumentNullException>(
         !CollJudge.IsNullOrEmpty(argument),
         argumentName, message ?? $"{nameof(argument)} can not be null or empty.");
 }
Example #3
0
 public static bool IsSameCount <T>(this ICollection <T> source, ICollection <T> that)
 {
     return(CollJudge.IsSameCount(source, that));
 }