C# 클래스 LayersCMS.Web.Validation.RelativeUrlAttribute

Validates that a string is a valid relative url, e.g. '/' or '/home' but not 'http://www.test.com' or 'home' or '/home/'. Warning: null or empty string values are classed as valid. Use the RequiredAttribute to combat this.
상속: System.ComponentModel.DataAnnotations.ValidationAttribute
파일 보기 프로젝트 열기: stevekennaird/LayersCMS

공개 메소드들

메소드 설명
IsValid ( object value ) : bool
RelativeUrlAttribute ( ) : System

메소드 상세

IsValid() 공개 메소드

public IsValid ( object value ) : bool
value object
리턴 bool

RelativeUrlAttribute() 공개 메소드

public RelativeUrlAttribute ( ) : System
리턴 System