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

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

public static TSetting InnoEngine.Settings.Settings.Get<TSetting>(InnoEngine.Settings.ProjectSettingId id) where TSetting : class, InnoEngine.Serialization.ISerializable

Type parameter TSetting: The required setting contract.

Parameter id: The stable setting protocol identity.

An independently owned effective setting snapshot.

Exception T:System.InvalidOperationException: Thrown when no project settings lookup is active or its owner is no longer initialized.

Exception T:System.Collections.Generic.KeyNotFoundException: Thrown by the standard project settings store when the setting is unavailable.

Exception T:System.InvalidCastException: Thrown by the standard project settings store when the setting does not implement the requested contract.