Describes that a parameter for the action is to form part of the stem following the action itself.
Namespace:
Mindscape.LightSpeed.Web.RoutingAssembly: Mindscape.LightSpeed.Web (in Mindscape.LightSpeed.Web.dll)
Version: 4.0.1000.1 (4.0.0.0)
Syntax
C# |
---|
[AttributeUsageAttribute(AttributeTargets.Parameter)] public sealed class UrlStemSuffixAttribute : Attribute |
Visual Basic (Declaration) |
---|
<AttributeUsageAttribute(AttributeTargets.Parameter)> _ Public NotInheritable Class UrlStemSuffixAttribute _ Inherits Attribute |
Examples
Given an action with the signature: ActionResult Bar(string foo);
The default for this would be /bar
If [UrlStemSuffix] is applied to the parameter foo then the resulting route would be /bar/[foo]