Api Sandbox IHotloadManaged
interface

IHotloadManaged

public interface IHotloadManaged

During hotloads, instances of types implementing this interface will be notified when they get replaced.

Methods

virtual Void Destroyed(Dictionary<String, Object> state)
virtual Void Created(IReadOnlyDictionary<String, Object> state)
virtual Void Persisted()

Called when this instance is about to be processed, but not replaced.

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.

Assembly: Sandbox.System Namespace: Sandbox Full Name: Sandbox.IHotloadManaged