Class ContentFinderByConfigured404
Provides an implementation of IContentFinder that runs the legacy 404 logic.
Inheritance
System.Object
Namespace: Umbraco.Web.Routing
Assembly: Umbraco.Web.dll
Syntax
public class ContentFinderByConfigured404 : IContentLastChanceFinder, IContentFinder
Constructors
View SourceContentFinderByConfigured404(ILogger, IEntityService, IContentSection)
Declaration
public ContentFinderByConfigured404(ILogger logger, IEntityService entityService, IContentSection contentConfigSection)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | |
IEntityService | entityService | |
IContentSection | contentConfigSection |
Methods
View SourceTryFindContent(PublishedRequest)
Tries to find and assign an Umbraco document to a PublishedRequest
.
Declaration
public bool TryFindContent(PublishedRequest frequest)
Parameters
Type | Name | Description |
---|---|---|
PublishedRequest | frequest | The |
Returns
Type | Description |
---|---|
System.Boolean | A value indicating whether an Umbraco document was found and assigned. |