C# Class Castle.MonoRail.Framework.Services.Utils.ControllerInspectionUtil

Utilities methods to inspect the controller Type and gathers its name and area.
Show file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
Inspect ( Type controllerType ) : ControllerDescriptor

Creates a ControllerDescriptor based on the conventions and possible attributes found for the Controller Type specified

Private Methods

Method Description
ObtainControllerName ( String name, Type controller ) : String

Obtains the name of the controller.

Strip ( String name ) : String

Strips the specified name.

Method Details

Inspect() public static method

Creates a ControllerDescriptor based on the conventions and possible attributes found for the Controller Type specified
public static Inspect ( Type controllerType ) : ControllerDescriptor
controllerType System.Type The controller type
return ControllerDescriptor