Class BigIntegerRemoteValue
- Namespace
- WebDriverBiDi.Script
- Assembly
- WebDriverBiDi.dll
Represents a remote value for a BigInteger, providing type-safe access to the value and the ability to convert to a local value for use as an argument for script execution on the remote end.
public record BigIntegerRemoteValue : ValueHoldingRemoteValue<BigInteger>, IEquatable<RemoteValue>, IEquatable<ValueHoldingRemoteValue>, ITypeSafeRemoteValue<BigInteger>, IEquatable<ValueHoldingRemoteValue<BigInteger>>, IEquatable<BigIntegerRemoteValue>
- Inheritance
-
BigIntegerRemoteValue
- Implements
- Inherited Members
Constructors
BigIntegerRemoteValue(BigIntegerRemoteValue)
protected BigIntegerRemoteValue(BigIntegerRemoteValue original)
Parameters
originalBigIntegerRemoteValue
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Value
Gets the BigInteger value of this remote value.
[JsonConverter(typeof(BigIntegerJsonConverter))]
[JsonPropertyName("value")]
[JsonInclude]
[JsonRequired]
public override BigInteger Value { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(BigIntegerRemoteValue?)
public virtual bool Equals(BigIntegerRemoteValue? other)
Parameters
otherBigIntegerRemoteValue
Returns
Equals(ValueHoldingRemoteValue<BigInteger>?)
public override sealed bool Equals(ValueHoldingRemoteValue<BigInteger>? other)
Parameters
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToLocalValue()
Converts this remote value to a local value for use as an argument for script execution on the remote end.
public override LocalValue ToLocalValue()
Returns
- LocalValue
A LocalValue representing the bigint value.
ToString()
public override string ToString()
Returns
Operators
operator ==(BigIntegerRemoteValue?, BigIntegerRemoteValue?)
public static bool operator ==(BigIntegerRemoteValue? left, BigIntegerRemoteValue? right)
Parameters
leftBigIntegerRemoteValuerightBigIntegerRemoteValue
Returns
operator !=(BigIntegerRemoteValue?, BigIntegerRemoteValue?)
public static bool operator !=(BigIntegerRemoteValue? left, BigIntegerRemoteValue? right)
Parameters
leftBigIntegerRemoteValuerightBigIntegerRemoteValue