Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Reversibly activates a complete candidate while the previous snapshot remains available.

API: engine
Project: Inno.Extensibility.Types

protected virtual void Inno.Extensibility.Types.TypeRegistry<TSnapshot>.OnActivating(TSnapshot? previous, TSnapshot candidate)

Parameter previous: The previous active snapshot, or null during initial activation.

Parameter candidate: The candidate exposed through P:Inno.Extensibility.Types.TypeRegistry`1.current during this callback.

Implementations may perform fallible lifecycle work here. They must keep enough local state for M:Inno.Extensibility.Types.TypeRegistry`1.OnActivationRolledBack(`0,`0) to reverse every completed step.