Class Source
- Namespace
- WebDriverBiDi.Script
- Assembly
- WebDriverBiDi.dll
Object representing the source for a script.
public record Source : IEquatable<Source>
- Inheritance
-
Source
- Implements
- Inherited Members
Constructors
Source(Source)
protected Source(Source original)
Parameters
originalSource
Properties
BrowsingContextId
Gets the browsing context ID for a script.
[JsonPropertyName("context")]
[JsonInclude]
public string? BrowsingContextId { get; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
RealmId
Gets the ID of the realm for a script.
[JsonPropertyName("realm")]
[JsonRequired]
[JsonInclude]
public string RealmId { get; }
Property Value
UserContextId
Gets the user context ID for a script.
[JsonPropertyName("userContext")]
[JsonInclude]
public string? UserContextId { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(Source?)
public virtual bool Equals(Source? other)
Parameters
otherSource
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(Source?, Source?)
public static bool operator ==(Source? left, Source? right)
Parameters
Returns
operator !=(Source?, Source?)
public static bool operator !=(Source? left, Source? right)