Synced
ProjectSettingsStore.TryGet
Section titled “ProjectSettingsStore.TryGet”
- Tries to get an isolated effective setting snapshot from the active extension generation.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Settings
Declaration
Section titled “Declaration”public bool Inno.Core.Settings.ProjectSettingsStore.TryGet<TSetting>(Inno.Core.Settings.ProjectSettingId id, out TSetting? setting) where TSetting : class, Inno.Core.Serialization.ISerializableType parameters
Section titled “Type parameters”Type parameter TSetting: Expected setting contract.
Parameters
Section titled “Parameters”Parameter id: Stable setting protocol identity.
Parameter setting: Receives an independently owned effective snapshot when available.
Returns
Section titled “Returns”true when a compatible setting exists.