C# Class Liara.Common.LiaraCookie

Mostra file Open project: prasannavl/Liara Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
IsInSameDomain ( LiaraCookie cookie ) : bool
IsInSamePath ( LiaraCookie cookie ) : bool
IsSameCookie ( LiaraCookie cookie ) : bool

Checks if it represents the same cookie, regardless of the value.

Note: Use Equals to check value.

IsSameCookieAndValue ( LiaraCookie cookie ) : bool
LiaraCookie ( ) : System
LiaraCookie ( string name, string value, System.DateTime expires = null, string domain = null, string path = "/", bool httpOnly = true, bool secureOnly = false ) : System
SetAsExpired ( ) : void
operator ( ) : bool

Protected Methods

Method Description
Equals ( LiaraCookie cookie ) : bool

Method Details

Equals() protected method

protected Equals ( LiaraCookie cookie ) : bool
cookie LiaraCookie
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

IsInSameDomain() public method

public IsInSameDomain ( LiaraCookie cookie ) : bool
cookie LiaraCookie
return bool

IsInSamePath() public method

public IsInSamePath ( LiaraCookie cookie ) : bool
cookie LiaraCookie
return bool

IsSameCookie() public method

Checks if it represents the same cookie, regardless of the value.

Note: Use Equals to check value.

public IsSameCookie ( LiaraCookie cookie ) : bool
cookie LiaraCookie
return bool

IsSameCookieAndValue() public method

public IsSameCookieAndValue ( LiaraCookie cookie ) : bool
cookie LiaraCookie
return bool

LiaraCookie() public method

public LiaraCookie ( ) : System
return System

LiaraCookie() public method

public LiaraCookie ( string name, string value, System.DateTime expires = null, string domain = null, string path = "/", bool httpOnly = true, bool secureOnly = false ) : System
name string
value string
expires System.DateTime
domain string
path string
httpOnly bool
secureOnly bool
return System

SetAsExpired() public method

public SetAsExpired ( ) : void
return void

operator() public static method

public static operator ( ) : bool
return bool