Docs · API reference · Motus.Abstractions

ConsoleMessageEventArgs Class#

Event arguments for console messages emitted by the page.

public sealed record ConsoleMessageEventArgs : System.IEquatable<Motus.Abstractions.ConsoleMessageEventArgs>

Inheritance System.Object → ConsoleMessageEventArgs

Implements System.IEquatable<ConsoleMessageEventArgs>

Constructors#

ConsoleMessageEventArgs(string, string) Constructor#

Event arguments for console messages emitted by the page.

public ConsoleMessageEventArgs(string Type, string Text);

Parameters#

Type System.String

The type of the console message (e.g. "log", "error", "warning").

Text System.String

The text of the console message.

Properties#

Text Property#

The text of the console message.

public string Text { get; init; }

Property Value#

System.String

Type Property#

The type of the console message (e.g. "log", "error", "warning").

public string Type { get; init; }

Property Value#

System.String