Table of Contents

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

Name string

Name.

Bank string

Bank (null = none).

Data object

Payload (parameter values, state blob...).

IsFactory bool

Factory presets cannot be deleted or overwritten.

Properties

Bank

Bank (null = none).

public string? Bank { get; init; }

Property Value

string

Data

Payload (parameter values, state blob...).

public object? Data { get; init; }

Property Value

object

IsFactory

Factory presets cannot be deleted or overwritten.

public bool IsFactory { get; init; }

Property Value

bool

Name

Name.

public string Name { get; init; }

Property Value

string