Exemple #1
0
 public static void StopScript(ScriptInfo scriptInfo)
 {
     if (IDE.StopScriptRequested != null)
     {
         IDE.StopScriptRequested(scriptInfo, EventArgs.Empty);
     }
 }
Exemple #2
0
 ///<summary>
 ///  Stops script using specified ScriptInfo
 ///</summary>
 public static void StopScript(ScriptInfo scriptInfo)
 {
     if (IDE.StopScriptRequested == null)
     {
         return;
     }
     IDE.StopScriptRequested((object)scriptInfo, EventArgs.Empty);
 }