C# 클래스 OpenQA.Selenium.Internal.ReturnedCookie

Represents a cookie returned to the driver by the browser.
상속: Cookie
파일 보기 프로젝트 열기: epall/selenium 1 사용 예제들

공개 메소드들

메소드 설명
ReturnedCookie ( string name, string value, string domain, string path, System.DateTime expiry, bool isSecure, Uri currentUrl ) : System

Initializes a new instance of the ReturnedCookie class with a specific name, value, domain, path and expiration date.

ToString ( ) : string

Creates and returns a string representation of the current cookie.

보호된 메소드들

메소드 설명
Validate ( ) : void

Validates the cookie is correctly formed.

메소드 상세

ReturnedCookie() 공개 메소드

Initializes a new instance of the ReturnedCookie class with a specific name, value, domain, path and expiration date.
If the name is or an empty string, /// or if it contains a semi-colon. If the value or currentUrl is .
public ReturnedCookie ( string name, string value, string domain, string path, System.DateTime expiry, bool isSecure, Uri currentUrl ) : System
name string The name of the cookie.
value string The value of the cookie.
domain string The domain of the cookie.
path string The path of the cookie.
expiry System.DateTime The expiration date of the cookie.
isSecure bool if the cookie is secure; otherwise
currentUrl System.Uri The current the browser is viewing.
리턴 System

ToString() 공개 메소드

Creates and returns a string representation of the current cookie.
public ToString ( ) : string
리턴 string

Validate() 보호된 메소드

Validates the cookie is correctly formed.
protected Validate ( ) : void
리턴 void