GetWarningCount() 공개 메소드

Gets the number of field and business rule warnings inside this context.
public GetWarningCount ( ) : int
리턴 int
            public void ReturnsZeroForContextWithoutErrors()
            {
                var context = new ValidationContext();

                Assert.AreEqual(0, context.GetWarningCount());
            }