Class VirtualPathArguments
Used as argument in for example Get
Inherited Members
Namespace: EPiServer.Web.Routing
Assembly: EPiServer.Cms.AspNetCore.Templating.dll
Version: 12.0.3Syntax
public class VirtualPathArguments : UrlResolverArguments
Constructors
VirtualPathArguments()
Initializes a new instance of the Virtual
Declaration
public VirtualPathArguments()
Properties
Action
Gets or sets the action method that should be linked to.
Declaration
public string Action { get; set; }
Property Value
Type | Description |
---|---|
System. |
ValidateTemplate
Gets or sets a value indicating whether there should be a validation that checks if the IContent type has a template.
If the type has no template and ValidateTemplate is true, the Url
Declaration
public bool ValidateTemplate { get; set; }
Property Value
Type | Description |
---|---|
System. |
Remarks
The default value is true.
To get Url for a Content
Methods
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |