private MetaData extractTitleFrom(LinkPreviewData data)
        {
            TitleData result = _metaDataFactory.CreateNew(MetaDataType.Title) as TitleData;

            result.Content = data.title;
            return(result);
        }
Пример #2
0
        private void initNewEntryData(EntryData result)
        {
            MetaData creationDateData   = _factory.CreateNew(MetaDataType.CreationDate);
            MetaData lastChangeDateData = _factory.CreateNew(MetaDataType.LastChangedDate);

            result.AddMetaData(creationDateData);
            result.AddMetaData(lastChangeDateData);
        }