RunicTestLaunchRequest record

Namespace Runic.Application.Testing in Runic.Application.Testing 0.23.0

public sealed record RunicTestLaunchRequest : IEquatable<RunicTestLaunchRequest>

Inherits or implements IEquatable.

A file or link a guest asked the test host to open (launch).

Parameters

WindowId

The guest's window.

Uri

The link, or null for a file.

Path

The absolute path of the file, or null for a link.

Operation

What to do with the file.

Remarks

The protocol and this type are experimental; see docs/experimental.md.

Constructors

RunicTestLaunchRequest

public RunicTestLaunchRequest(string WindowId, Uri? Uri, string? Path, DesktopFileOperation Operation)

A file or link a guest asked the test host to open (launch).

Parameters

WindowId

The guest's window.

Uri

The link, or null for a file.

Path

The absolute path of the file, or null for a link.

Operation

What to do with the file.

Remarks

The protocol and this type are experimental; see docs/experimental.md.

Properties

Operation

public DesktopFileOperation Operation { get; init; }

What to do with the file.

Path

public string? Path { get; init; }

The absolute path of the file, or null for a link.

Uri

public Uri? Uri { get; init; }

The link, or null for a file.

WindowId

public string WindowId { get; init; }

The guest's window.