Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Reads a compatible value or returns the caller-provided fallback.

API: scripting
Project: Inno.Editor.Core
Scope: Editor

public abstract T InnoEditor.Core.EditorState.Get<T>(string key, T fallback)

Type parameter T: The neutral value type expected by the caller.

Parameter key: The stable key local to the owning module or panel.

Parameter fallback: The value returned when the key is absent, malformed, or incompatible with T.

The stored compatible value, or fallback.

Exception T:System.ArgumentException: Thrown when key is empty.