Class ContentFinderByConfigured404
Provides an implementation of
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Routing
Assembly: cs.temp.dll.dll
Syntax
public class ContentFinderByConfigured404 : IContentLastChanceFinder
Constructors
ContentFinderByConfigured404(ILogger<ContentFinderByConfigured404>, IEntityService, IOptions<ContentSettings>, IExamineManager, IVariationContextAccessor, IUmbracoContextAccessor)
Initializes a new instance of the ContentFinderByConfigured404 class.
Declaration
public ContentFinderByConfigured404(ILogger<ContentFinderByConfigured404> logger, IEntityService entityService, IOptions<ContentSettings> contentConfigSettings, IExamineManager examineManager, IVariationContextAccessor variationContextAccessor, IUmbracoContextAccessor umbracoContextAccessor)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogger<ContentFinderByConfigured404> | logger | |
| IEntityService | entityService | |
| IOptions<ContentSettings> | contentConfigSettings | |
| IExamineManager | examineManager | |
| IVariationContextAccessor | variationContextAccessor | |
| IUmbracoContextAccessor | umbracoContextAccessor |
Methods
TryFindContent(IPublishedRequestBuilder)
Tries to find and assign an Umbraco document to a PublishedRequest.
Declaration
public bool TryFindContent(IPublishedRequestBuilder frequest)
Parameters
| Type | Name | Description |
|---|---|---|
| IPublishedRequestBuilder | frequest | The |
Returns
| Type | Description |
|---|---|
| System.Boolean | A value indicating whether an Umbraco document was found and assigned. |