AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.13.0-alpha-771" />

 MessageEvent

public class MessageEvent : Event
Represents the event arguments when receiving a message.
public object Data { get; }

Gets the data that is carried by the message.

public string LastEventId { get; }

Gets the id of the last event.

public string Origin { get; }

Gets the origin of the message.

public IMessagePort[] Ports { get; }

Gets the used message ports.

public IWindow Source { get; }

Gets the source of the message.

public MessageEvent()

Creates a new event.

public MessageEvent(string type, bool bubbles = false, bool cancelable = false, object data = null, string origin = null, string lastEventId = null, IWindow source = null, IMessagePort[] ports)

Creates a new event and initializes it.

public void Init(string type, bool bubbles, bool cancelable, object data, string origin, string lastEventId, IWindow source, IMessagePort[] ports)

Initializes the message event.