Table of Contents

Class LocalValue

Namespace
OpenQA.Selenium.BiDi.Modules.Script
Assembly
WebDriver.dll
[JsonPolymorphic(TypeDiscriminatorPropertyName = "type")]
[JsonDerivedType(typeof(LocalValue.Number), "number")]
[JsonDerivedType(typeof(LocalValue.String), "string")]
[JsonDerivedType(typeof(LocalValue.Null), "null")]
[JsonDerivedType(typeof(LocalValue.Undefined), "undefined")]
[JsonDerivedType(typeof(LocalValue.Channel), "channel")]
[JsonDerivedType(typeof(LocalValue.Array), "array")]
[JsonDerivedType(typeof(LocalValue.Date), "date")]
[JsonDerivedType(typeof(LocalValue.Map), "map")]
[JsonDerivedType(typeof(LocalValue.Object), "object")]
[JsonDerivedType(typeof(LocalValue.RegExp), "regexp")]
[JsonDerivedType(typeof(LocalValue.Set), "set")]
public abstract record LocalValue : IEquatable<LocalValue>
Inheritance
LocalValue
Implements
Derived
Inherited Members

Methods

ConvertFrom(object?)

public static LocalValue ConvertFrom(object? value)

Parameters

value object

Returns

LocalValue

Operators

implicit operator LocalValue(int)

public static implicit operator LocalValue(int value)

Parameters

value int

Returns

LocalValue

implicit operator LocalValue(string)

public static implicit operator LocalValue(string value)

Parameters

value string

Returns

LocalValue