Beispiel #1
0
        public ISearchFrame GetSearchFrame()
        {
            var clipboardHistory = ClipboardSearchResources.GetClipboardHistory()
                                   .Select(x => new StringIndexable(x.Text, FormatUtcAgo(x.CreatedUtc)))
                                   .OfType <IIndexable>()
                                   .ToArray();

            return(new IndexableSearchFrame(clipboardHistory));
        }