Synced
IProjectSettingsLookup.TryGet
Section titled “IProjectSettingsLookup.TryGet”
- Tries to get an isolated effective setting from the active extension generation.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Settings
Declaration
Section titled “Declaration”bool Inno.Core.Settings.IProjectSettingsLookup.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: The required setting contract.
Parameters
Section titled “Parameters”Parameter id: The stable setting protocol identity.
Parameter setting: Receives an independently owned effective snapshot when available.
Returns
Section titled “Returns”true when a compatible setting exists; otherwise, false.