IScriptCompilerServiceCompile Method |
Does the compilation of the script into an assembly. The assembly is stored together with
the read-only source code and returned as result. As list of compiled source codes is maintained by this class.
If you provide a text that was already compiled before, the already compiled assembly is returned instead
of a freshly compiled assembly.
Namespace: Altaxo.Main.Services.ScriptCompilationAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3448.0 (4.8.3448.0)
SyntaxTask<IScriptCompilerResult> Compile(
string[] scriptText,
CancellationToken cancellationToken
)
Parameters
- scriptText String
[Missing <param name="scriptText"/> documentation for "M:Altaxo.Main.Services.ScriptCompilation.IScriptCompilerService.Compile(System.String[],System.Threading.CancellationToken)"]
- cancellationToken CancellationToken
[Missing <param name="cancellationToken"/> documentation for "M:Altaxo.Main.Services.ScriptCompilation.IScriptCompilerService.Compile(System.String[],System.Threading.CancellationToken)"]
Return Value
TaskIScriptCompilerResultTrue if successfully compiles, otherwise false.
See Also