/// <summary> /// Adds the specified unit. /// </summary> /// <param name="unit">The unit.</param> public virtual void Add(ILuaUndoUnit unit) { if (unit == null) throw new ArgumentNullException("unit"); undoUnits.Add(unit); }
/// <summary> /// Adds the specified unit. /// </summary> /// <param name="unit">The unit.</param> public virtual void Add(ILuaUndoUnit unit) { if (unit == null) { throw new ArgumentNullException("unit"); } undoUnits.Add(unit); }