Beispiel #1
0
        public static void RunScript(string scriptName, ClientSmrApi client)
        {
            Script script = ParseScript(scriptName);

            RunScript(script, new DidaSmrVisitor(client));
        }
Beispiel #2
0
 public ClientSMR(string id, string url, string scriptFileName)
 {
     ScriptFileName = DU.JoinPaths(DS.ClientResources, scriptFileName);
     string[] lines = File.ReadAllLines(ServersListLocation);
     Api = new ClientSmrApi(id, url, ScriptFileName, new List <string>(lines));
 }
Beispiel #3
0
 public DidaSmrVisitor(ClientSmrApi Api)
 {
     CliApi = Api;
 }