GetValidations() public method

Gets all the field and business rule validations.
public GetValidations ( ) : List
return List
            public void ReturnsRightValidationsForEmptyContextWithTag()
            {
                var context = new ValidationContext();

                var validations = context.GetValidations("tag");
                Assert.AreEqual(0, validations.Count);
            }