Dev2.VerifyArgument.AreNotNull C# (CSharp) Method

AreNotNull() private method

private AreNotNull ( [ args ) : void
args [
return void
         public static void AreNotNull([AssertionCondition(AssertionConditionType.IS_NOT_NULL)]IDictionary<string,object> args)
         {
             if (args.Any(a=> a.Value== null))
             {
                 throw new ArgumentNullException("",String.Format("The following arguments are not allowed to be null: {0}" ,args.Where(a=>a.Value==null).Aggregate("",(a,b)=>string.Format("{0}{1}{2}", a, b.Key, Environment.NewLine))));
             }
         }