Dev2.VerifyArgument.AreNotNull C# (CSharp) 메소드

AreNotNull() 개인적인 메소드

private AreNotNull ( [ args ) : void
args [
리턴 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))));
             }
         }