C# Class Manos.Mvc.ControllerService

Exibir arquivo Open project: toptensoftware/manos Class Usage Examples

Public Properties

Property Type Description
CreateControllerInstance Func

Public Methods

Method Description
CleanControllerName ( string str ) : string
ControllerService ( MvcApp app ) : System
GetControllerType ( string name ) : Type
RegisterAllControllers ( Assembly assembly, bool UseThreadPool = true ) : void
RegisterAllControllers ( bool UseThreadPool = true ) : void
RegisterController ( Type type, bool UseThreadPool = true ) : void

Method Details

CleanControllerName() public static method

public static CleanControllerName ( string str ) : string
str string
return string

ControllerService() public method

public ControllerService ( MvcApp app ) : System
app MvcApp
return System

GetControllerType() public method

public GetControllerType ( string name ) : Type
name string
return System.Type

RegisterAllControllers() public method

public RegisterAllControllers ( Assembly assembly, bool UseThreadPool = true ) : void
assembly System.Reflection.Assembly
UseThreadPool bool
return void

RegisterAllControllers() public method

public RegisterAllControllers ( bool UseThreadPool = true ) : void
UseThreadPool bool
return void

RegisterController() public method

public RegisterController ( Type type, bool UseThreadPool = true ) : void
type System.Type
UseThreadPool bool
return void

Property Details

CreateControllerInstance public_oe property

public Func CreateControllerInstance
return Func