Class SessionId
Provides a mechanism for maintaining a session for a test
public class SessionId
- Inheritance
-
SessionId
- Inherited Members
Constructors
SessionId(string)
Initializes a new instance of the SessionId class
public SessionId(string opaqueKey)
Parameters
opaqueKeystringKey for the session in use
Exceptions
- ArgumentNullException
If
opaqueKeyis null.
Methods
Equals(object?)
Indicates whether the current session ID value is the same as obj.
public override bool Equals(object? obj)
Parameters
objobjectThe session to compare to.
Returns
GetHashCode()
Get the hash code of the key
public override int GetHashCode()
Returns
- int
The hash code of the key
ToString()
Get the value of the key
public override string ToString()
Returns
- string
The key in use