예제 #1
0
 public void GetPrevious(LogActs log, IFigure figure, bool isNew = true)
 {
     if (isNew)
     {
         log.New = figure;
     }
     else
     {
         log.Previous = figure;
     }
 }
예제 #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();
     }
 }