Interface IContentFinder
Provides a method to try to find and assign an Umbraco document to a PublishedRequest
.
Namespace: Umbraco.Cms.Core.Routing
Assembly: Umbraco.Core.dll
Syntax
public interface IContentFinder
Methods
View SourceTryFindContent(IPublishedRequestBuilder)
Tries to find and assign an Umbraco document to a PublishedRequest
.
Declaration
Task<bool> TryFindContent(IPublishedRequestBuilder request)
Parameters
Type | Name | Description |
---|---|---|
IPublishedRequestBuilder | request | The |
Returns
Type | Description |
---|---|
Task<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.