Class NoopRequestRedirectService
A no-operation implementation of IRequestRedirectService that never returns redirects.
Inheritance
object
Namespace: Umbraco.Cms.Core.DeliveryApi
Assembly: Umbraco.Core.dll
Syntax
public sealed class NoopRequestRedirectService : IRequestRedirectService
Constructors
View SourceNoopRequestRedirectService()
Declaration
public NoopRequestRedirectService()
Methods
View SourceGetRedirectRoute(string)
Retrieves the redirect URL (if any) for a requested content path
Declaration
public IApiContentRoute? GetRedirectRoute(string requestedPath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | requestedPath |
Returns
| Type | Description |
|---|---|
| IApiContentRoute |