API ReferenceSandbox
IHotloadManagedclass
During hotloads, instances of types implementing this interface will be notified when they get replaced.
object→IHotloadManaged
Methods4
Showing 4 methods
public virtual void Created(System.Collections.Generic.IReadOnlyDictionary`2<string,object> state)
| Parameter | Type | Description |
|---|---|---|
| state | IReadOnlyDictionary<string,object> | — |
Returns:
void—public virtual void Destroyed(System.Collections.Generic.Dictionary`2<string,object> state)
| Parameter | Type | Description |
|---|---|---|
| state | Dictionary<string,object> | — |
Returns:
void—public virtual void Failed()
Called when this instance could not be upgraded during a hotload, and any references to it have been replaced with null. This is a good time to clean up any unmanaged resources related to this instance.
Returns:
void—public virtual void Persisted()
Called when this instance is about to be processed, but not replaced.
Returns:
void—No results match this filter.