Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Gets an isolated snapshot of a current-generation setting.

API: engine
Project: Inno.Core.Settings

public TSetting Inno.Core.Settings.ProjectSettings.Get<TSetting>(Inno.Core.Settings.ProjectSettingId id) where TSetting : class, Inno.Core.Serialization.ISerializable

Type parameter TSetting: Expected settings contract.

Parameter id: Stable setting identifier.

An independently owned snapshot of the effective current-generation value.

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.