Click or drag to resize
AspMvcActionSelectorAttribute Class
ASP.NET MVC attribute. When applied to a parameter of an attribute, indicates that this parameter is an MVC action name
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Ozeki.CommonAspMvcActionSelectorAttribute

Namespace: Ozeki.Common
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax
public sealed class AspMvcActionSelectorAttribute : Attribute

The AspMvcActionSelectorAttribute type exposes the following members.

Constructors
  NameDescription
Public methodAspMvcActionSelectorAttribute
Initializes a new instance of the AspMvcActionSelectorAttribute class
Top
Examples
[ActionName("Foo")]
public ActionResult Login(string returnUrl) {
  ViewBag.ReturnUrl = Url.Action("Foo"); // OK
  return RedirectToAction("Bar"); // Error: Cannot resolve action
}
See Also