DesktopContent record

Namespace Runic.Desktop in Runic.Desktop 0.23.0

public abstract record DesktopContent : IEquatable<DesktopContent>

Inherits or implements IEquatable.

The content a Desktop surface serves. Each case states its source, so nothing is inferred from a string.

Remarks

DesktopSurfaceOptions.Content takes one case. To serve a packed asset archive, wrap its handler: new DesktopContent.Handler(assets.ToDesktopContentHandler()) from Runic.Assets.Desktop.