Class GenerateUrlContextExtensions
Extension methods for UrlGeneratorContext
Inheritance
System.Object
GenerateUrlContextExtensions
Namespace: EPiServer.Core.Routing.Pipeline
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public static class GenerateUrlContextExtensions : Object
Methods
PrependSegment(UrlGeneratorContext, String)
Prepend a segment to the Url that is being generated
Declaration
public static void PrependSegment(this UrlGeneratorContext context, string segment)
Parameters
Type | Name | Description |
---|---|---|
UrlGeneratorContext | context | The context that is extended |
System.String | segment | The segment to append to the url |