Struct AssetPreload<T>
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
KeystringValueT
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
Value
public T Value { get; init; }
Property Value
- T