예제 #1
0
파일: PsScriptJanitor.cs 프로젝트: flq/rfb
 public void AddScriptTask(BuildTask task, PSScriptCallToken callToken)
 {
     tasks.Add(new TaskDefinition(task, callToken));
 }
예제 #2
0
 public void Visit(PSScriptCallToken token)
 {
     if (currentTarget == null)
     throw new InvalidOperationException("A script call should be done inside a target");
       ScriptJanitor.AddScriptTask(currentTarget.AddNewTask("RunScript"), token);
 }
예제 #3
0
 public void Visit(PSScriptCallToken token)
 {
     VisitedPSScriptCallToken++;
       TotalCount++;
       Tokens.Add(token);
 }