Class ConsoleMessageLocation
- Namespace
- PuppeteerSharp
- Assembly
- PuppeteerSharp.dll
Console message location.
public class ConsoleMessageLocation : IEquatable<ConsoleMessageLocation>
- Inheritance
-
ConsoleMessageLocation
- Implements
Properties
ColumnNumber
0-based column number in the resource if known.
public int? ColumnNumber { get; set; }
Property Value
- int?
LineNumber
0-based line number in the resource if known.
public int? LineNumber { get; set; }
Property Value
- int?
URL
URL of the resource if known.
public string URL { get; set; }
Property Value
Methods
Equals(ConsoleMessageLocation)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ConsoleMessageLocation other)
Parameters
other
ConsoleMessageLocationAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Operators
operator ==(ConsoleMessageLocation, ConsoleMessageLocation)
Overriding == operator for ConsoleMessageLocation.
public static bool operator ==(ConsoleMessageLocation location1, ConsoleMessageLocation location2)
Parameters
location1
ConsoleMessageLocationthe value to compare against
location2
.location2
ConsoleMessageLocationthe value to compare against
location1
.
Returns
- bool
true
if the two instances are equal to the same value.
operator !=(ConsoleMessageLocation, ConsoleMessageLocation)
Overriding != operator for ConsoleMessageLocation.
public static bool operator !=(ConsoleMessageLocation location1, ConsoleMessageLocation location2)
Parameters
location1
ConsoleMessageLocationthe value to compare against
location2
.location2
ConsoleMessageLocationthe value to compare against
location1
.
Returns
- bool
true
if the two instances are not equal to the same value.