C# Class System.Web.Mvc.IronRuby.Controllers.RubyControllerDescriptor

The descriptor for a Ruby enabled Controller
Inheritance: ControllerDescriptor
显示文件 Open project: jschementi/ironrubymvc

Public Methods

Method Description
FindAction ( ControllerContext controllerContext, string actionName ) : ActionDescriptor

Finds the action.

GetCanonicalActions ( ) : ActionDescriptor[]

Gets the canonical actions.

RubyControllerDescriptor ( RubyClass rubyClass, IRubyEngine engine ) : System.Web.Mvc.IronRuby.Core

Initializes a new instance of the RubyControllerDescriptor class.

Method Details

FindAction() public method

Finds the action.
public FindAction ( ControllerContext controllerContext, string actionName ) : ActionDescriptor
controllerContext ControllerContext The controller context.
actionName string The name of the action.
return ActionDescriptor

GetCanonicalActions() public method

Gets the canonical actions.
public GetCanonicalActions ( ) : ActionDescriptor[]
return ActionDescriptor[]

RubyControllerDescriptor() public method

Initializes a new instance of the RubyControllerDescriptor class.
public RubyControllerDescriptor ( RubyClass rubyClass, IRubyEngine engine ) : System.Web.Mvc.IronRuby.Core
rubyClass IronRuby.Builtins.RubyClass The ruby class.
engine IRubyEngine The engine.
return System.Web.Mvc.IronRuby.Core