C# 클래스 Castle.Components.Validator.ValidateNotSameValueAttribute

Validates that the content has not been set to the specified value
상속: Castle.Components.Validator.AbstractValidationAttribute
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono

공개 메소드들

메소드 설명
Build ( ) : IValidator

Constructs and configures an IValidator instance based on the properties set on the attribute instance.

ValidateNotSameValueAttribute ( Type valueType, object mustNotBeThisValue ) : System

Initializes a new instance of the ValidateNotSameValueAttribute class.

ValidateNotSameValueAttribute ( Type valueType, object mustNotBeThisValue, string errorMessage ) : System

Initializes a new instance of the ValidateSameAsAttribute class.

ValidateNotSameValueAttribute ( object mustNotBeThisValue ) : System

Initializes a new instance of the ValidateSameAsAttribute class.

메소드 상세

Build() 공개 메소드

Constructs and configures an IValidator instance based on the properties set on the attribute instance.
public Build ( ) : IValidator
리턴 IValidator

ValidateNotSameValueAttribute() 공개 메소드

Initializes a new instance of the ValidateNotSameValueAttribute class.
public ValidateNotSameValueAttribute ( Type valueType, object mustNotBeThisValue ) : System
valueType System.Type Type of the value.
mustNotBeThisValue object The must not be this value.
리턴 System

ValidateNotSameValueAttribute() 공개 메소드

Initializes a new instance of the ValidateSameAsAttribute class.
public ValidateNotSameValueAttribute ( Type valueType, object mustNotBeThisValue, string errorMessage ) : System
valueType System.Type
mustNotBeThisValue object
errorMessage string
리턴 System

ValidateNotSameValueAttribute() 공개 메소드

Initializes a new instance of the ValidateSameAsAttribute class.
public ValidateNotSameValueAttribute ( object mustNotBeThisValue ) : System
mustNotBeThisValue object
리턴 System