private bool CheckListContains(IFileRecordInfo recordInfo)
        {
            var recordInfoWrapper = ComparisonRecords
                                    .FirstOrDefault(info => info.WrappedRecordInfo.FileRecordInfo.Id == recordInfo.Id);

            return(recordInfoWrapper != null && ComparisonRecords.Any());
        }
        private void SubscribeToUpdateRecordInfos()
        {
            _eventAggregator.GetEvent <PubSubEvent <ViewMessages.UpdateRecordInfos> >()
            .Subscribe(msg =>
            {
                if (_useEventMessages)
                {
                    var recordInfoWrapper = ComparisonRecords
                                            .FirstOrDefault(info => info.WrappedRecordInfo
                                                            .FileRecordInfo.Id == msg.RecordInfo.Id);

                    if (recordInfoWrapper != null)
                    {
                        RemoveComparisonItem(recordInfoWrapper);
                        AddComparisonItem(msg.RecordInfo);
                    }
                }
            });
        }