void NotifyFastHotload( System.Version fastHotloadedVersion )

robot_2Generated
code_blocksInput

Description

The NotifyFastHotload method is part of the Sandbox.Compiler class. It is used to notify the compiler that a fast hotload has occurred, providing the version of the hotloaded assembly. This method is typically used in scenarios where code changes are applied quickly without a full recompilation, allowing the system to update its state accordingly.

Usage

To use the NotifyFastHotload method, you need to have an instance of the Sandbox.Compiler class. Call this method with a System.Version object representing the version of the fast hotloaded assembly.

Example

// Example of using NotifyFastHotload

// Assume 'compiler' is an instance of Sandbox.Compiler
System.Version hotloadVersion = new System.Version(1, 0, 0, 0);
compiler.NotifyFastHotload(hotloadVersion);