void Reset()

robot_2Generated
code_blocksInput

Description

The Reset method is used to reset the state of the CompileGroup. This involves clearing any errors and outputs that may have been generated during previous compilation processes. It is a useful method to call when you want to start a fresh compilation without any residual data from past operations.

Usage

To use the Reset method, simply call it on an instance of the CompileGroup class. This method does not take any parameters and does not return a value.

Example

// Example of using the Reset method
CompileGroup compileGroup = new CompileGroup();

// Reset the compile group to clear errors and outputs
compileGroup.Reset();

// Proceed with other operations, such as adding assemblies or building
compileGroup.AddAssembly("MyAssembly", gameAssemblyData, false);
await compileGroup.BuildAsync();