Execute C# Code
Views
Compiling Log
Shows some general information based on what buttons you've pressed, this will show any compiler errors, and general information when trying to find references
References
List the references required for compiling your code.
Configuration
Configuration options available under the Settings
tab are outlined below:
Optionally set a descriptive name for your C# sub-action.
Name
is required if you would like to execute custom methods with the Execute C# Method sub-action.Optionally set a longer description detailing what your C# sub-action does.
By ticking this option, your code will be kept alive for the lifetime of the Streamer.bot application.
This will allow you to preserve data between calls to this sub-action.
By ticking this, your code will be automatically compiled when you start Streamer.bot so it is ready to go, instead of the first time the sub-action is executed.
When Precompile on Application Start
is enabled, delay compilation until later in the startup routine.
This is useful if you are implementing UI within your C# sub-action.
Save the bool
result of the Execute()
method
false
without this option enabled will simply stop execution of the entire action. Enabling this option allows you to collect the result and also continue execution regardless of the return value.When Save Result to Variable
is enabled, enter the name for the resulting variable here.
Actions
Automatically format your code with proper indentation
Attempt to automatically find some common references based on your using
directives.
Test the compilation of your code and check for errors.
This will save your changes, and pre-compile the code so it's ready to go the first time the action is hit
Save your changes
Discard your changes