Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Tries to get an isolated effective setting from the current extension generation.

API: scripting
Project: Inno.Core.Settings
Scope: Runtime

public static bool InnoEngine.Settings.Settings.TryGet<TSetting>(InnoEngine.Settings.ProjectSettingId id, out TSetting? setting) where TSetting : class, InnoEngine.Serialization.ISerializable

Type parameter TSetting: The required setting contract.

Parameter id: The stable setting protocol identity.

Parameter setting: Receives an independently owned effective snapshot when available.

true when a compatible setting exists; otherwise, false.

Exception T:System.InvalidOperationException: Thrown when no project settings lookup is active for the caller.