Automation/AutomationRunner.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Xml;
namespace ComLib.Automation
{
/// <summary>
/// Class that runs an automation script.
/// </summary>
public class AutomationRunner
{
private ScriptResult _result;
private Script _script;
/// <summary>
/// Initialize.
/// </summary>
public AutomationRunner()
{
Init("xml", string.Empty);
}
/// <summary>
/// Initialize.
/// </summary>
public AutomationRunner(string format, string commandDllsDelimited)
{
Init(format, commandDllsDelimited);
}
/// <summary>
/// The format used in the automation script. "xml" or "json"
/// </summary>
public string Format { get; set; }
/// <summary>
/// A delimited list of assemblies to load the commands contained in the automation script.
/// </summary>
public string Assemblies { get; set; }
/// <summary>
/// Gets the last run result of the last script.
/// </summary>
public ScriptResult Result { get { return _result; } }
/// <summary>
/// Gets the current script that was executed
/// </summary>
public Script Script { get { return _script; } }
后面还有 74 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
