Table of Contents

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

string

Methods

Equals(ConsoleMessageLocation)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(ConsoleMessageLocation other)

Parameters

other ConsoleMessageLocation

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

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 ConsoleMessageLocation

the value to compare against location2.

location2 ConsoleMessageLocation

the 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 ConsoleMessageLocation

the value to compare against location2.

location2 ConsoleMessageLocation

the value to compare against location1.

Returns

bool

true if the two instances are not equal to the same value.