C# Class Griffin.Container.Mvc5.ContainerRegistrarExtensions

Extension methods for the HTTP integration
Afficher le fichier Open project: jgauffin/Griffin.Container

Méthodes publiques

Méthode Description
RegisterApiControllers ( this registrar, Assembly assembly ) : void

Scan specified assembly after WebApi controllers.

RegisterControllers ( this registrar, Assembly assembly ) : void

Register all controllers

Method Details

RegisterApiControllers() public static méthode

Scan specified assembly after WebApi controllers.
public static RegisterApiControllers ( this registrar, Assembly assembly ) : void
registrar this Container registrar to register the controllers in.
assembly System.Reflection.Assembly Assembly to scan
Résultat void

RegisterControllers() public static méthode

Register all controllers
public static RegisterControllers ( this registrar, Assembly assembly ) : void
registrar this The registrar
assembly System.Reflection.Assembly Assembly to scan.
Résultat void