C# Class System.Net.Cookie

Mostra file Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
Clone Cookie
Cookie System.Collections.Generic
DomainCharsTest bool
Dump void
InternalSetName bool
IsDomainEqualToHost bool
ToServerString string
ToString void
VerifySetDefaults bool

Public Methods

Method Description
Cookie ( ) : System.Collections
Cookie ( string name, string value ) : System.Collections
Cookie ( string name, string value, string path ) : System.Collections
Cookie ( string name, string value, string path, string domain ) : System.Collections
Cookie ( string name, string value ) : System.Collections.Generic
Cookie ( string name, string value, string path ) : System.Collections.Generic
Cookie ( string name, string value, string path, string domain ) : System.Collections.Generic
Equals ( object comparand ) : bool
GetHashCode ( ) : int
ToString ( ) : string

Private Methods

Method Description
Clone ( ) : Cookie
Cookie ( ) : System.Collections.Generic
DomainCharsTest ( string name ) : bool
Dump ( ) : void
InternalSetName ( string value ) : bool
IsDomainEqualToHost ( string domain, string host ) : bool
ToServerString ( ) : string
ToString ( StringBuilder sb ) : void
VerifySetDefaults ( CookieVariant variant, Uri uri, bool isLocalDomain, string localDomain, bool setDefault, bool shouldThrow ) : bool

Method Details

Cookie() public method

public Cookie ( ) : System.Collections
return System.Collections

Cookie() public method

public Cookie ( string name, string value ) : System.Collections
name string
value string
return System.Collections

Cookie() public method

public Cookie ( string name, string value, string path ) : System.Collections
name string
value string
path string
return System.Collections

Cookie() public method

public Cookie ( string name, string value, string path, string domain ) : System.Collections
name string
value string
path string
domain string
return System.Collections

Cookie() public method

public Cookie ( string name, string value ) : System.Collections.Generic
name string
value string
return System.Collections.Generic

Cookie() public method

public Cookie ( string name, string value, string path ) : System.Collections.Generic
name string
value string
path string
return System.Collections.Generic

Cookie() public method

public Cookie ( string name, string value, string path, string domain ) : System.Collections.Generic
name string
value string
path string
domain string
return System.Collections.Generic

Equals() public method

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

ToString() public method

public ToString ( ) : string
return string