EmbeddedAssetRegistration record

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

public sealed record EmbeddedAssetRegistration : IEquatable<EmbeddedAssetRegistration>

Inherits or implements IEquatable.

Maps explicit assembly resources to deterministic application asset paths.

Constructors

EmbeddedAssetRegistration

public EmbeddedAssetRegistration(string RelativePath, string ResourceName, bool IsEntryPoint = false, string? MediaType = null, AssetCacheMode CacheMode = AssetCacheMode.Revalidate)

Maps explicit assembly resources to deterministic application asset paths.

Properties

CacheMode

public AssetCacheMode CacheMode { get; init; }

No documentation.

IsEntryPoint

public bool IsEntryPoint { get; init; }

No documentation.

MediaType

public string? MediaType { get; init; }

No documentation.

RelativePath

public string RelativePath { get; init; }

No documentation.

ResourceName

public string ResourceName { get; init; }

No documentation.