CompilationOptions constructor
constructor · CompilationOptions · cAlgo.API Since 5.1
DesktopCLICloud
Creates compilation options.
Definition
public CompilationOptions()
CompilationOptions()
Examples
var options = new CompilationOptions();
var result = Compiler.Compile(@"Sample cBot\Sample cBot.csproj", options);
Print("Compilation succeeded: {0}", result.Succeeded);
options = CompilationOptions()
result = api.Compiler.Compile(r"Sample cBot\Sample cBot.csproj", options)
api.Print(f"Compilation succeeded: {result.Succeeded}")