Ejemplo n.º 1
0
        private void AddSearchItem(object item)
        {
            var itemString = (string)item;

            if (!string.IsNullOrWhiteSpace(itemString))
            {
                var needNewline = PageContent != "" && !PageContent.EndsWith("\n");
                var newLine     = needNewline ? "\n" : "";
                PageContent += newLine + CurrentSearch.FullItemString(itemString);
                _navigatorService.NavigateToUploadPage();
            }
        }