Synced
EditorState.Get
Section titled “EditorState.Get”
- Reads a compatible value or returns the caller-provided fallback.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Core
Scope: Editor
Declaration
Section titled “Declaration”public abstract T InnoEditor.Core.EditorState.Get<T>(string key, T fallback)Type parameters
Section titled “Type parameters”Type parameter T: The neutral value type expected by the caller.
Parameters
Section titled “Parameters”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.
Returns
Section titled “Returns”The stored compatible value, or fallback.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when key is empty.