-
Notifications
You must be signed in to change notification settings - Fork 0
CSharp
Stephen S. Mitchell edited this page Sep 23, 2025
·
3 revisions
← Back to Classes | Documentation Home | Methods Index | Properties Index
- Namespace:
AlibreScript.API - Kind:
Class
Compiles C# code
def Compile(code):
"""
Compiles C# code
Args:
code (str): Code to compile
Returns:
Compiled code object
"""Compiles and runs C# code
Overload 1:
def CompileAndRun(code):
"""
Compiles and runs C# code
Args:
code (str): Code to compile and run
Returns:
Updated dictionary of variables
"""Overload 2:
def CompileAndRun(code, variables):
"""
Compiles and runs C# code
Args:
code (str): Code to compile and run
variables (IronPython.Runtime.PythonDictionary): Dictionary of variables
Returns:
Updated dictionary of variables
"""Runs compiled C# code
Overload 1:
def Run(script):
"""
Runs compiled C# code
Args:
script (Microsoft.CodeAnalysis.Scripting.Script{System.Object[]}): Compiled code object to run
Returns:
Updated dictionary of variables
"""Overload 2:
def Run(script, variables):
"""
Runs compiled C# code
Args:
script (Microsoft.CodeAnalysis.Scripting.Script{System.Object[]}): Compiled code object to run
variables (IronPython.Runtime.PythonDictionary): Dictionary of variables or None for no variables
Returns:
Updated dictionary of variables
"""Documentation Home | Classes | Methods Index | Properties Index | Members Index
Generated on 2025-09-23 02:06