public class Sandbox.CompileGroup
Constructors
Showing 1 constructors
public CompileGroup(string name)
No results match this filter.
Methods
Showing 6 methods
public System.Threading.Tasks.Task`1<bool> BuildAsync()
Build the compilers
public Sandbox.Compiler CreateCompiler(string name, string path, Sandbox.Compiler.Configuration settings)
Create a new compiler in this group.
public virtual sealed void Dispose()
Shut everything down
public Sandbox.Compiler GetOrCreateCompiler(string name)
public void Reset()
Reset the compile group. Clear errors and outputs.
public System.Threading.Tasks.Task WaitForCompile(System.Threading.CancellationToken token)
No results match this filter.
Properties
Showing 13 properties
public Sandbox.AccessControl Sandbox.CompileGroup.AccessControl { get; set; }
AccessControl instance to use when verifying whitelist. Must be set to enable compile-time access control.
public bool Sandbox.CompileGroup.AllowFastHotload { get; set; }
True if we want to use fast hotloading with this compile group
public Sandbox.CompileGroup.Results Sandbox.CompileGroup.BuildResult { get; set; }
Returns true if build was successful
public System.Collections.Generic.IEnumerable`1<Sandbox.Compiler> Sandbox.CompileGroup.Compilers { get; set; }
The compilers within the group
public bool Sandbox.CompileGroup.IsBuilding { get; set; }
Returns true if we are currently in the process of building
public string Sandbox.CompileGroup.Name { get; set; }
The name of this compile group, for debugging/display purposes
public bool Sandbox.CompileGroup.NeedsBuild { get; set; }
Returns true if we have compiles pending
public System.Action Sandbox.CompileGroup.OnCompileFinished { get; set; }
Called when a compiling ends
public System.Action Sandbox.CompileGroup.OnCompileStarted { get; set; }
Called when a compiling starts
public System.Action Sandbox.CompileGroup.OnCompileSuccess { get; set; }
Called when a compile completes successfully. Can access the result from BuildResult.
public bool Sandbox.CompileGroup.PrintErrorsInConsole { get; set; }
True if we want to print errors in the console when compiling
public Sandbox.ICompileReferenceProvider Sandbox.CompileGroup.ReferenceProvider { get; set; }
Allows providing an external way to find references
public static bool Sandbox.CompileGroup.SuppressBuildNotifications { get; set; }
Build notifications start of suppressed until after startup proper. That way we don't get 4 build notification windows popping up on startup.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Compiling |
| Doc ID | T:Sandbox.CompileGroup |