示例#1
0
        public void test()
        {
            var foo = new DwollaCustomerInfo()
            {
                State = "Ca", FirstName = "Brian", LastName = "Chavez", City = "None", Email = "*****@*****.**", Zip = "90210"
            };

            validator.Validate(foo).Errors.ToList().ForEach(x => Console.WriteLine(x.ToString()));
        }
        public void test()
        {
            var foo = new DwollaCustomerInfo(){ State = "Ca", FirstName = "Brian", LastName = "Chavez", City = "None", Email = "*****@*****.**", Zip = "90210"};

            validator.Validate( foo ).Errors.ToList().ForEach( x => Console.WriteLine( x.ToString() ) );
        }