Interface IContentFinder
Provides a method to try to find and assign an Umbraco document to a PublishedRequest
.
Namespace: Umbraco.Web.Routing
Assembly: Umbraco.Web.dll
Syntax
public interface IContentFinder
Methods
View SourceTryFindContent(PublishedRequest)
Tries to find and assign an Umbraco document to a PublishedRequest
.
Declaration
bool TryFindContent(PublishedRequest request)
Parameters
Type | Name | Description |
---|---|---|
PublishedRequest | request | The |
Returns
Type | Description |
---|---|
System.Boolean | A value indicating whether an Umbraco document was found and assigned. |
Remarks
Optionally, can also assign the template or anything else on the document request, although that is not required.