Table of Contents

Class AxolotlPackageAsset

Namespace
Axolotl2D.Packages
Assembly
Axolotl2D.dll

Maps a logical asset name to its package entry and runtime type.

public sealed record AxolotlPackageAsset : IEquatable<AxolotlPackageAsset>
Inheritance
AxolotlPackageAsset
Implements
Inherited Members

Constructors

AxolotlPackageAsset(string, string, string, IReadOnlyList<string>?)

Maps a logical asset name to its package entry and runtime type.

public AxolotlPackageAsset(string Name, string Entry, string RuntimeType, IReadOnlyList<string>? Dependencies = null)

Parameters

Name string

The package-local asset name.

Entry string

The payload entry name.

RuntimeType string

The target runtime type.

Dependencies IReadOnlyList<string>

Optional logical asset dependencies.

Properties

Dependencies

Optional logical asset dependencies.

public IReadOnlyList<string>? Dependencies { get; init; }

Property Value

IReadOnlyList<string>

Entry

The payload entry name.

public string Entry { get; init; }

Property Value

string

Name

The package-local asset name.

public string Name { get; init; }

Property Value

string

RuntimeType

The target runtime type.

public string RuntimeType { get; init; }

Property Value

string