Table of Contents

Class RemoteValueDictionary

Namespace
WebDriverBiDi.Script
Assembly
WebDriverBiDi.dll

A read-only dictionary of RemoteValue objects.

public class RemoteValueDictionary : ReadOnlyDictionary<object, RemoteValue>, IDictionary<object, RemoteValue>, ICollection<KeyValuePair<object, RemoteValue>>, IDictionary, ICollection, IReadOnlyDictionary<object, RemoteValue>, IReadOnlyCollection<KeyValuePair<object, RemoteValue>>, IEnumerable<KeyValuePair<object, RemoteValue>>, IEnumerable
Inheritance
RemoteValueDictionary
Implements
Inherited Members

Remarks

Keys are either string values or RemoteValue instances. String keys are compared by value, so dictionary["name"] works as expected. RemoteValue keys are compared by reference: each one denotes a distinct JavaScript object, and two object keys that happen to serialize identically (for example, two functions with no handle) remain distinct entries. Look such entries up by enumerating the dictionary, or by using the very key instance obtained from Keys; a separately constructed, structurally equal RemoteValue will not match.