# Sandbox.CompileGroup

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Compiling`

## Constructors

- [`CompileGroup`](/api/Sandbox.CompileGroup/.ctor)

## Properties

- [`AccessControl`](/api/Sandbox.CompileGroup/AccessControl): AccessControl instance to use when verifying whitelist. Must be set to enable compile-time access control.
- [`AllowFastHotload`](/api/Sandbox.CompileGroup/AllowFastHotload): True if we want to use fast hotloading with this compile group
- [`BuildResult`](/api/Sandbox.CompileGroup/BuildResult): Returns true if build was successful
- [`Compilers`](/api/Sandbox.CompileGroup/Compilers): The compilers within the group
- [`IsBuilding`](/api/Sandbox.CompileGroup/IsBuilding): Returns true if we are currently in the process of building
- [`Name`](/api/Sandbox.CompileGroup/Name): The name of this compile group, for debugging/display purposes
- [`NeedsBuild`](/api/Sandbox.CompileGroup/NeedsBuild): Returns true if we have compiles pending
- [`OnCompileFinished`](/api/Sandbox.CompileGroup/OnCompileFinished): Called when a compiling ends
- [`OnCompileStarted`](/api/Sandbox.CompileGroup/OnCompileStarted): Called when a compiling starts
- [`OnCompileSuccess`](/api/Sandbox.CompileGroup/OnCompileSuccess): Called when a compile completes successfully. Can access the result from BuildResult.
- [`PrintErrorsInConsole`](/api/Sandbox.CompileGroup/PrintErrorsInConsole): True if we want to print errors in the console when compiling
- [`ReferenceProvider`](/api/Sandbox.CompileGroup/ReferenceProvider): Allows providing an external way to find references
- [`SuppressBuildNotifications`](/api/Sandbox.CompileGroup/SuppressBuildNotifications): Build notifications start of suppressed until after startup proper. That way we don't get 4 build notification windows popping up on startup.

## Methods

- [`BuildAsync`](/api/Sandbox.CompileGroup/BuildAsync): Build the compilers
- [`CreateCompiler`](/api/Sandbox.CompileGroup/CreateCompiler): Create a new compiler in this group.
- [`Dispose`](/api/Sandbox.CompileGroup/Dispose): Shut everything down
- [`GetOrCreateCompiler`](/api/Sandbox.CompileGroup/GetOrCreateCompiler)
- [`Reset`](/api/Sandbox.CompileGroup/Reset): Reset the compile group. Clear errors and outputs.
- [`WaitForCompile`](/api/Sandbox.CompileGroup/WaitForCompile)
