예제 #1
0
 protected void SelfAssertStateTrue(bool boolValue, string message)
 {
     AssertionConcern.AssertStateTrue(boolValue, message);
 }
 public static void AssertIsValid(string password)
 {
     AssertionConcern.AssertArgumentNotNull(password, Errors.InvalidUserPassword);
 }
예제 #3
0
 protected void SelfAssertArgumentRange(int value, int minimum, int maximum, string message)
 {
     AssertionConcern.AssertArgumentRange(value, minimum, maximum, message);
 }
예제 #4
0
 protected void SelfAssertArgumentRange(long value, long minimum, long maximum, string message)
 {
     AssertionConcern.AssertArgumentRange(value, minimum, maximum, message);
 }
예제 #5
0
 protected void SelfAssertArgumentNotNull(object object1, string message)
 {
     AssertionConcern.AssertArgumentNotNull(object1, message);
 }
예제 #6
0
 protected void SelfAssertArgumentRange(double value, double minimum, double maximum, string message)
 {
     AssertionConcern.AssertArgumentRange(value, minimum, maximum, message);
 }
예제 #7
0
 protected void SelfAssertArgumentNotEquals(object object1, object object2, string message)
 {
     AssertionConcern.AssertArgumentNotEquals(object1, object2, message);
 }
예제 #8
0
 protected void SelfAssertArgumentNotEmpty(string stringValue, string message)
 {
     AssertionConcern.AssertArgumentNotEmpty(stringValue, message);
 }
예제 #9
0
 protected void SelfAssertArgumentMatches(string pattern, string stringValue, string message)
 {
     AssertionConcern.AssertArgumentMatches(pattern, stringValue, message);
 }
예제 #10
0
 protected void SelfAssertArgumentLength(string stringValue, int minimum, int maximum, string message)
 {
     AssertionConcern.AssertArgumentLength(stringValue, minimum, maximum, message);
 }
예제 #11
0
 protected void SelfAssertArgumentFalse(bool boolValue, string message)
 {
     AssertionConcern.AssertArgumentFalse(boolValue, message);
 }