Esempio n. 1
0
 public void GetPrevious(LogActs log, IFigure figure, bool isNew = true)
 {
     if (isNew)
     {
         log.New = figure;
     }
     else
     {
         log.Previous = figure;
     }
 }
Esempio n. 2
0
 public void WriteLogsBack(IFigure figure, bool isNew)
 {
     if (!isNew)
     {
         WriteActsPrevious(figure, false);
     }
     else
     {
         _log.GetPrevious(_log, figure, false);
         LogsBack.Add(_log);
         _log = new LogActs();
     }
 }