コード例 #1
0
        public void AddSubHistory(IHistoryItemDTO historyItemDto)
        {
            if (historyItemDto.IsAnImplementationOf <NullHistoryItemDTO>())
            {
                return;
            }

            _subHistoryItems.Add(historyItemDto);
            historyItemDto.Parent = this;
        }
コード例 #2
0
        public void EditCommentFor(IHistoryItemDTO historyItemDTO)
        {
            if (historyItemDTO.IsAnImplementationOf <NullHistoryItemDTO>())
            {
                return;
            }

            using (var presenter = _applicationController.Start <ICommentPresenter>())
            {
                presenter.EditCommentFor(historyItemDTO);
            }
        }