Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workaround comment to IASToolkit examples #1443

Merged
merged 2 commits into from May 11, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -68,6 +68,13 @@ public class Script
/// <param name="engine">Link with SLAutomation process.</param>
public void Run(Engine engine)
{
// DO NOT REMOVE THIS COMMENTED OUT CODE OR THE SCRIPT WONT RUN!
SkylineThomasCR marked this conversation as resolved.
Show resolved Hide resolved
// DataMiner evaluates if the script needs to launch in interactive mode.
// This is determined by a simple string search looking for "engine.ShowUI" in the source code.
// However, due to the toolkit nuget package, this string cannot be found here.
SkylineThomasCR marked this conversation as resolved.
Show resolved Hide resolved
// So this comment is here as a workaround.
//// engine.ShowUI();

try
{
controller = new InteractiveController(engine);
Expand Down Expand Up @@ -165,6 +172,13 @@ public class Script
/// <param name="engine">Link with SLAutomation process.</param>
public void Run(Engine engine)
{
// DO NOT REMOVE THIS COMMENTED OUT CODE OR THE SCRIPT WONT RUN!
SkylineThomasCR marked this conversation as resolved.
Show resolved Hide resolved
// DataMiner evaluates if the script needs to launch in interactive mode.
// This is determined by a simple string search looking for "engine.ShowUI" in the source code.
// However, due to the toolkit nuget package, this string cannot be found here.
SkylineThomasCR marked this conversation as resolved.
Show resolved Hide resolved
// So this comment is here as a workaround.
//// engine.ShowUI();

try
{
controller = new InteractiveController(engine);
Expand Down Expand Up @@ -211,6 +225,13 @@ public class Script
/// <param name="engine">Link with SLAutomation process.</param>
public void Run(Engine engine)
{
// DO NOT REMOVE THIS COMMENTED OUT CODE OR THE SCRIPT WONT RUN!
SkylineThomasCR marked this conversation as resolved.
Show resolved Hide resolved
// DataMiner evaluates if the script needs to launch in interactive mode.
// This is determined by a simple string search looking for "engine.ShowUI" in the source code.
// However, due to the toolkit nuget package, this string cannot be found here.
SkylineThomasCR marked this conversation as resolved.
Show resolved Hide resolved
// So this comment is here as a workaround.
//// engine.ShowUI();

try
{
controller = new InteractiveController(engine);
Expand Down