ConsoleMessageLocation
Namespace: PuppeteerSharp
public class ConsoleMessageLocation : IEquatable<ConsoleMessageLocation>Console message location.
Inheritance: object
Implements: IEquatable<ConsoleMessageLocation>
Properties
Section titled “Properties”ColumnNumber
Section titled “ColumnNumber”public int? ColumnNumber { get; set; }0-based column number in the resource if known.
Value: int?
FunctionName
Section titled “FunctionName”public string FunctionName { get; set; }Name of the function if known.
Value: string
LineNumber
Section titled “LineNumber”public int? LineNumber { get; set; }0-based line number in the resource if known.
Value: int?
public string URL { get; set; }URL of the resource if known.
Value: string
Methods
Section titled “Methods”Equals(ConsoleMessageLocation)
Section titled “Equals(ConsoleMessageLocation)”public bool Equals(ConsoleMessageLocation other)Indicates whether the current object is equal to another object of the same type.
Parameters
| Name | Type | Description |
|---|---|---|
other |
ConsoleMessageLocation | An object to compare with this object. |
Returns: bool — <a href=“https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if the current object is equal to the <code class=“paramref”>other</code> parameter; otherwise, <a href=“https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.
Equals(object)
Section titled “Equals(object)”public override bool Equals(object obj)Determines whether the specified object is equal to the current object.
Parameters
| Name | Type | Description |
|---|---|---|
obj |
object | The object to compare with the current object. |
Returns: bool — <a href=“https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if the specified object is equal to the current object; otherwise, <a href=“https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.
GetHashCode()
Section titled “GetHashCode()”public override int GetHashCode()Serves as the default hash function.
Returns: int — A hash code for the current object.
Operators
Section titled “Operators”operator ==(ConsoleMessageLocation, ConsoleMessageLocation)
Section titled “operator ==(ConsoleMessageLocation, ConsoleMessageLocation)”public static bool operator ==(ConsoleMessageLocation location1, ConsoleMessageLocation location2)Overriding == operator for ConsoleMessageLocation.
Parameters
| Name | Type | Description |
|---|---|---|
location1 |
ConsoleMessageLocation | the value to compare against <code class=“paramref”>location2</code>. |
location2 |
ConsoleMessageLocation | the value to compare against <code class=“paramref”>location1</code>. |
Returns: bool — true if the two instances are equal to the same value.
operator !=(ConsoleMessageLocation, ConsoleMessageLocation)
Section titled “operator !=(ConsoleMessageLocation, ConsoleMessageLocation)”public static bool operator !=(ConsoleMessageLocation location1, ConsoleMessageLocation location2)Overriding != operator for ConsoleMessageLocation.
Parameters
| Name | Type | Description |
|---|---|---|
location1 |
ConsoleMessageLocation | the value to compare against <code class=“paramref”>location2</code>. |
location2 |
ConsoleMessageLocation | the value to compare against <code class=“paramref”>location1</code>. |
Returns: bool — true if the two instances are not equal to the same value.
Made with love by Dario Kondratiuk