Пример #1
0
 public ScriptEventRaiser(IScript parentScript)
 {
     Executor     = new ScriptExecutor(parentScript);
     ParentScript = parentScript;
     Finder       = new ScriptFinder();
 }
Пример #2
0
 /// <summary>
 /// Finds the scripts matching the provided pattern.
 /// </summary>
 /// <returns>
 /// An array of the (short) script names.
 /// </returns>
 /// <param name='pattern'>
 /// The pattern used to match script names.
 /// </param>
 public string[] FindScripts(string pattern)
 {
     return(ScriptFinder.Find(pattern));
 }
Пример #3
0
 public ScriptEventRaiser()
 {
     Executor = new ScriptExecutor();
     Finder   = new ScriptFinder();
 }