RunicLaunchCall record

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

public sealed record RunicLaunchCall : IEquatable<RunicLaunchCall>

Inherits or implements IEquatable.

One file or URI the application handed to a native application.

Parameters

Path

The local path, or null for a URI.

Uri

The URI, or null for a path.

Operation

The file operation; DesktopFileOperation.Open for a URI.

Constructors

RunicLaunchCall

public RunicLaunchCall(string? Path, Uri? Uri, DesktopFileOperation Operation)

One file or URI the application handed to a native application.

Parameters

Path

The local path, or null for a URI.

Uri

The URI, or null for a path.

Operation

The file operation; DesktopFileOperation.Open for a URI.

Properties

Operation

public DesktopFileOperation Operation { get; init; }

The file operation; DesktopFileOperation.Open for a URI.

Path

public string? Path { get; init; }

The local path, or null for a URI.

Uri

public Uri? Uri { get; init; }

The URI, or null for a path.