GetFieldErrorCount() public méthode

Gets the field error count of all fields.
public GetFieldErrorCount ( ) : int
Résultat int
            public void ReturnsRightAmountForEmptyValidationContextWithTag()
            {
                var context = new ValidationContext();

                Assert.AreEqual(0, context.GetFieldErrorCount("tag"));
            }