SaaS CMS has officially launched! Learn more now.

Class ContentUrlCacheContext

The context used when resolving cached urls for content

Inheritance
System.Object
ContentUrlCacheContext
Namespace: EPiServer.Core.Routing.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public class ContentUrlCacheContext : Object

Constructors

ContentUrlCacheContext(UrlGeneratorContext, UrlGeneratorOptions)

Creates a new instance of ContentUrlCacheContext

Declaration
public ContentUrlCacheContext(UrlGeneratorContext urlGeneratorContext, UrlGeneratorOptions urlGeneratorOptions)
Parameters
Type Name Description
UrlGeneratorContext urlGeneratorContext
UrlGeneratorOptions urlGeneratorOptions

Properties

UrlGeneratorContext

The context used to generate the url

Declaration
public UrlGeneratorContext UrlGeneratorContext { get; }
Property Value
Type Description
UrlGeneratorContext

UrlGeneratorOptions

The options used to generate the url

Declaration
public UrlGeneratorOptions UrlGeneratorOptions { get; }
Property Value
Type Description
UrlGeneratorOptions

Methods

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

Extension Methods