C# 클래스 Selenol.Validation.Page.UrlAttribute

상속: System.Attribute, IPageUrlValidator
파일 보기 프로젝트 열기: pbakshy/Selenol

공개 메소드들

메소드 설명
GetErrorMessage ( string currentUrl ) : string

Gets an error message for an invalid page.

Validate ( string currentUrl ) : bool

Validates the page url. Checks that a page url contains a url part.

비공개 메소드들

메소드 설명
CheckHttps ( string pageUrl ) : bool
UrlAttribute ( string urlPart ) : System

메소드 상세

GetErrorMessage() 공개 메소드

Gets an error message for an invalid page.
public GetErrorMessage ( string currentUrl ) : string
currentUrl string The current Url.
리턴 string

Validate() 공개 메소드

Validates the page url. Checks that a page url contains a url part.
public Validate ( string currentUrl ) : bool
currentUrl string The current Url.
리턴 bool