Class
SessionId

Provides a mechanism for maintaining a session for a test

Definition

Namespace:ArtOfTest.WebAii.BrowserSpecialized.MicrosoftEdge

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
public class SessionId

Inheritance: objectSessionId

Constructors

SessionId(string)

Initializes a new instance of the SessionId class

Declaration

cs-api-definition
public SessionId(string opaqueKey)

Parameters

opaqueKey

string

Key for the session in use

Methods

Equals(object)

Compares two Sessions

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

Session to compare

Returns

bool

True if they are equal or False if they are not

Overrides object.Equals(object)

GetHashCode()

Get the hash code of the key

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

The hash code of the key

Overrides object.GetHashCode()

ToString()

Get the value of the key

Declaration

cs-api-definition
public override string ToString()

Returns

string

The key in use

Overrides object.ToString()