@model SimpleSearch.SearchResponse <html> <head> <title>Search Results</title> </head> <body> <h2>Search Results</h2> @Html.Raw(string.Format("Your search for <strong>{0}</strong> returned {1} results in {2} seconds", Model.OriginalSearchTerm, Model.Results.Count(), Math.Round(Model.TimeTaken.TotalSeconds, 3)))<br /> @*Only meaningful if caching is enabled on the controller*@ <em>@String.Format("Cached at {0}", DateTime.Now.ToShortTimeString())</em> @foreach (var item in Model.Results) { <section style="border: 0px none; display: block; float: none; padding: 0px"> <h3>@item.Category - @Html.RouteInfoLink(item.Description, item.RouteInformation)</h3> @Html.DisplayFor(m => item.OriginatingObject) </section> } </body> </html>
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)