C# Class DIExample.Services.StructureMapControllerFactory

Inheritance: System.Web.Mvc.DefaultControllerFactory
Afficher le fichier Open project: jbogard/blogexamples Class Usage Examples

Méthodes publiques

Méthode Description
ReleaseController ( IController controller ) : void
StructureMapControllerFactory ( IContainer container ) : System

Méthodes protégées

Méthode Description
GetControllerInstance ( System.Web.Routing.RequestContext requestContext, Type controllerType ) : IController

Method Details

GetControllerInstance() protected méthode

protected GetControllerInstance ( System.Web.Routing.RequestContext requestContext, Type controllerType ) : IController
requestContext System.Web.Routing.RequestContext
controllerType System.Type
Résultat IController

ReleaseController() public méthode

public ReleaseController ( IController controller ) : void
controller IController
Résultat void

StructureMapControllerFactory() public méthode

public StructureMapControllerFactory ( IContainer container ) : System
container IContainer
Résultat System