AspMvcActionSelectorAttribute Class |
ASP.NET MVC attribute. When applied to a parameter of an attribute,
indicates that this parameter is an MVC action name
Inheritance HierarchySystemObject
SystemAttribute
Ozeki.CommonAspMvcActionSelectorAttribute
Namespace:
Ozeki.Common
Assembly:
OzekiSDK (in OzekiSDK.dll) Version: 10.3.183.0
Syntaxpublic sealed class AspMvcActionSelectorAttribute : Attribute
Public NotInheritable Class AspMvcActionSelectorAttribute
Inherits Attribute
public ref class AspMvcActionSelectorAttribute sealed : public Attribute
[<SealedAttribute>]
type AspMvcActionSelectorAttribute =
class
inherit Attribute
end
The AspMvcActionSelectorAttribute type exposes the following members.
Constructors
Examples[ActionName("Foo")]
public ActionResult Login(string returnUrl) {
ViewBag.ReturnUrl = Url.Action("Foo");
return RedirectToAction("Bar");
}
See Also