DesktopSurfaceOptions record

Namespace Runic.Desktop · Runic.Desktop 0.7.0-preview.5

public sealed record DesktopSurfaceOptions : IEquatable<DesktopSurfaceOptions>

Inherits or implements IEquatable.

Configures one isolated presentation surface.

Constructors

DesktopSurfaceOptions

public DesktopSurfaceOptions()

No documentation.

Properties

Content

public DesktopContent Content { get; init; }

Gets what the surface serves: a local Directory, an Html document, an ExternalUrl, or a request Handler.

Remarks

Defaults to the current directory with index discovery.

Path

public string? Path { get; init; }

Gets the optional single-segment listener path; an opaque path is generated when omitted.

Security

public DesktopSecurityPolicy? Security { get; init; }

Gets a surface-specific security policy, or the host default when omitted.

UseIsolatedListener

public bool UseIsolatedListener { get; init; }

Gets whether this surface owns a separate listener.