Exemplo n.º 1
0
        public WebSearchInfo SetSearchTerm(WebSearchTerm searchterm)
        {
            var newHistory = new List <WebSearchTerm>(_history);

            newHistory.Insert(0, searchterm); // newest first
            return(new WebSearchInfo(newHistory));
        }
Exemplo n.º 2
0
 public ProteinMetadata SetWebSearchTerm(WebSearchTerm search)
 {
     return(new ProteinMetadata(this)
     {
         WebSearchInfo = WebSearchInfo.SetSearchTerm(search)
     });
 }