Exemple #1
0
 /// <summary>
 /// Add action to Try block
 /// </summary>
 /// <param name="action">Action to add</param>
 public void AddTry(IScriptAction action)
 {
     if (Try == null)
     {
         Try = new Block();
     }
     Try.Add(action);
 }
Exemple #2
0
 public static Try <A> add <NUM, A>(Try <A> lhs, Try <A> rhs) where NUM : struct, Num <A> =>
 lhs.Add <NUM, A>(rhs);