Class PresetEntry
- Namespace
- PluginUI
- Assembly
- PluginUI.dll
A preset entry of a PresetList.
public sealed record PresetEntry : IEquatable<PresetEntry>
- Inheritance
-
PresetEntry
- Implements
- Inherited Members
Constructors
PresetEntry(string, string?, object?, bool)
A preset entry of a PresetList.
public PresetEntry(string Name, string? Bank = null, object? Data = null, bool IsFactory = false)
Parameters
NamestringName.
BankstringBank (null = none).
DataobjectPayload (parameter values, state blob...).
IsFactoryboolFactory presets cannot be deleted or overwritten.
Properties
Bank
Bank (null = none).
public string? Bank { get; init; }
Property Value
Data
Payload (parameter values, state blob...).
public object? Data { get; init; }
Property Value
IsFactory
Factory presets cannot be deleted or overwritten.
public bool IsFactory { get; init; }
Property Value
Name
Name.
public string Name { get; init; }