Class UrlBuilderEventArgs
Event args for the UrlBuilder.
Inherited Members
System.EventArgs.Empty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web.Routing
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7Syntax
public class UrlBuilderEventArgs : RequestContextEventArgs
Constructors
UrlBuilderEventArgs(RequestContext, RouteValueDictionary, UrlBuilder)
Initializes a new instance of the UrlBuilderEventArgs class.
Declaration
[Obsolete("Use other constructor instead")]
public UrlBuilderEventArgs(RequestContext requestContext, RouteValueDictionary routeValues, UrlBuilder urlBuilder)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Routing.RequestContext | requestContext | The request context. |
System.Web.Routing.RouteValueDictionary | routeValues | The route values. |
UrlBuilder | urlBuilder | The URL builder. |
UrlBuilderEventArgs(RequestContext, RouteValueDictionary, UrlBuilder, HostDefinition)
Initializes a new instance of the UrlBuilderEventArgs class.
Declaration
public UrlBuilderEventArgs(RequestContext requestContext, RouteValueDictionary routeValues, UrlBuilder urlBuilder, HostDefinition host)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Routing.RequestContext | requestContext | The request context. |
System.Web.Routing.RouteValueDictionary | routeValues | The route values. |
UrlBuilder | urlBuilder | The URL builder. |
HostDefinition | host | The preferred host. |
Properties
Host
Gets or Sets the preferred host.
Declaration
public HostDefinition Host { get; set; }
Property Value
Type | Description |
---|---|
HostDefinition |
UrlBuilder
Gets the URL builder.
Declaration
public UrlBuilder UrlBuilder { get; }
Property Value
Type | Description |
---|---|
UrlBuilder |