/// <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); }
public static Try <A> add <NUM, A>(Try <A> lhs, Try <A> rhs) where NUM : struct, Num <A> => lhs.Add <NUM, A>(rhs);