public SoMuch AddFunsxx(SoMuch soMuch) { //var results = new List<ValidationResult>(); //var isValid = Validator.TryValidateObject(soMuch, new ValidationContext(soMuch, null, null), results, true); //Console.WriteLine("Validation resulted in " + isValid); //isValid = Validator.TryValidateObject(soMuch.NestedObjTest, new ValidationContext(soMuch.NestedObjTest, null, null), results, true); //Console.WriteLine("Validation resulted in " + isValid); //Validator.ValidateObject(soMuch, new ValidationContext(soMuch, null, null)); //Validator.ValidateObject(soMuch.NestedObjTest, new ValidationContext(soMuch.NestedObjTest, null, null)); SwagValidator.Validate(soMuch); throw new NotImplementedException(); }
public void ThisShouldBeRenamed(SoMuch soMuch) { throw new NotImplementedException(); }