Table of Contents

Struct AssetPreload<T>

Namespace
Shard.Assets
Assembly
Shard.Assets.dll

Supplies one value owned by a module before authored files are materialized.

public readonly record struct AssetPreload<T> : IEquatable<AssetPreload<T>> where T : notnull

Type Parameters

T
Implements
Inherited Members

Remarks

Although authored files with the same key replace the preload, other assets may still use it as a parent.

Constructors

AssetPreload(string, T)

Supplies one value owned by a module before authored files are materialized.

public AssetPreload(string Key, T Value)

Parameters

Key string
Value T

Remarks

Although authored files with the same key replace the preload, other assets may still use it as a parent.

Properties

Key

public string Key { get; init; }

Property Value

string

Value

public T Value { get; init; }

Property Value

T