Validate() 공개 메소드

public Validate ( object value ) : void
value object
리턴 void
예제 #1
0
		public void Validate_Exclusive_fail3 ()
		{
			IntegerValidator v = new IntegerValidator (5000, 10000, true);
			v.Validate (7000);
		}
예제 #2
0
		public void Validate_inRange ()
		{
			IntegerValidator v = new IntegerValidator (5000, 10000);
			v.Validate (7000);
		}
예제 #3
0
		public void Validate_Inclusive ()
		{
			IntegerValidator v = new IntegerValidator (5000, 10000, false);
			v.Validate (5000);
			v.Validate (10000);
		}
예제 #4
0
		public void Validate_Resolution ()
		{
			IntegerValidator v = new IntegerValidator (20000,
								   50000,
								   false,
								   3000);

			v.Validate (40000);
		}