Synced
ProjectSettings.Get
Section titled “ProjectSettings.Get”
- Gets an isolated snapshot of a current-generation setting.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Settings
Declaration
Section titled “Declaration”public TSetting Inno.Core.Settings.ProjectSettings.Get<TSetting>(Inno.Core.Settings.ProjectSettingId id) where TSetting : class, Inno.Core.Serialization.ISerializableType parameters
Section titled “Type parameters”Type parameter TSetting: Expected settings contract.
Parameters
Section titled “Parameters”Parameter id: Stable setting identifier.
Returns
Section titled “Returns”An independently owned snapshot of the effective current-generation value.
Exceptions
Section titled “Exceptions”Exception T:System.Collections.Generic.KeyNotFoundException: Thrown when no definition exists.
Exception T:System.InvalidCastException: Thrown when the definition does not implement the requested contract.