Interface IUrlContextResolver
Resolves a context given a friendly URL.
Inherited Members
Namespace: EPiServer.Shell.Rest
Assembly: EPiServer.Shell.dll
Version: 8.11.0Syntax
public interface IUrlContextResolver : ISortable
Methods
TryResolveUrl(Uri, out ClientContextBase)
Resolves the context for a given preview URL.
Declaration
bool TryResolveUrl(Uri url, out ClientContextBase instance)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | url | The URL on which the given data is dispayed to users. |
ClientContextBase | instance | Returns the context representing the given URL. |
Returns
Type | Description |
---|---|
System.Boolean | True if the context was loaded. |