Synced
Settings.Get
Section titled “Settings.Get”
- Gets an isolated effective setting from the current extension generation.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Core.Settings
Scope: Runtime
Declaration
Section titled “Declaration”public static TSetting InnoEngine.Settings.Settings.Get<TSetting>(InnoEngine.Settings.ProjectSettingId id) where TSetting : class, InnoEngine.Serialization.ISerializableType parameters
Section titled “Type parameters”Type parameter TSetting: The required setting contract.
Parameters
Section titled “Parameters”Parameter id: The stable setting protocol identity.
Returns
Section titled “Returns”An independently owned effective setting snapshot.
Exceptions
Section titled “Exceptions”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.