Try our conversational search powered by Generative AI!

Interface ISimpleAddressResolver

Used to resolve a Url interpreted as a simple address.

Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 9.12.2
Syntax
public interface ISimpleAddressResolver

Methods

TryResolve(UrlBuilder, SegmentContext, out ContentReference)

Tries to resolve a IContent instance from an URL interpreted as a simple address

Declaration
bool TryResolve(UrlBuilder url, SegmentContext segmentContext, out ContentReference resolvedContentLink)
Parameters
Type Name Description
UrlBuilder url

The url to resolve

SegmentContext segmentContext

The current context

ContentReference resolvedContentLink

A link to the resolved content or null if not resolved

Returns
Type Description
System.Boolean

true if url could be resolved as a simple address for a content instance

Extension Methods