示例#1
0
 /// <summary>
 /// Add action to Catch block
 /// </summary>
 /// <param name="action">Action to add</param>
 public void AddCatch(IScriptAction action)
 {
     if (Catch == null)
     {
         Catch = new Block();
     }
     Catch.Add(action);
 }