메소드 | 설명 | |
---|---|---|
CharacterValidatorAttribute ( bool allowNewLine = false ) : System |
Constructor for the attribute - sets up the error message
|
|
GetClientValidationRules ( ModelMetadata metadata, ControllerContext context ) : IEnumerable |
Gets the validation rules for this attribute
|
public CharacterValidatorAttribute ( bool allowNewLine = false ) : System | ||
allowNewLine | bool | |
리턴 | System |
public GetClientValidationRules ( ModelMetadata metadata, ControllerContext context ) : IEnumerable |
||
metadata | ModelMetadata | |
context | ControllerContext | |
리턴 | IEnumerable |