Description
The MarkForRecompile
method is a member of the Sandbox.Compiler
class. It is used to mark the current compiler instance for recompilation. This method should be called when changes have been made that require the assembly to be recompiled. The actual recompilation will occur at an appropriate time, as determined by the system.
Usage
To use the MarkForRecompile
method, simply call it on an instance of the Sandbox.Compiler
class. This method does not take any parameters and does not return a value.
Example
// Example of using MarkForRecompile
// Assume 'compiler' is an instance of Sandbox.Compiler
compiler.MarkForRecompile();
// This will mark the compiler for recompilation, which will occur when appropriate.