17 lines
752 B
C#
17 lines
752 B
C#
namespace Umbraco.Web.Routing
|
|
{
|
|
/// <summary>
|
|
/// Provides a method to try to find and assign an Umbraco document to a <c>PublishedContentRequest</c>.
|
|
/// </summary>
|
|
public interface IContentFinder
|
|
{
|
|
/// <summary>
|
|
/// Tries to find and assign an Umbraco document to a <c>PublishedContentRequest</c>.
|
|
/// </summary>
|
|
/// <param name="frequest">The <c>PublishedContentRequest</c>.</param>
|
|
/// <returns>A value indicating whether an Umbraco document was found and assigned.</returns>
|
|
/// <remarks>Optionally, can also assign the template or anything else on the document request, although that is not required.</remarks>
|
|
bool TryFindContent(PublishedRequest frequest);
|
|
}
|
|
}
|