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

API: engine
Project: Inno.Editor.Core

public abstract T Inno.Editor.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.