C# Class Griffin.Container.Mvc5.ContainerRegistrarExtensions

Extension methods for the HTTP integration
Exibir arquivo Open project: jgauffin/Griffin.Container

Public Methods

Method 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 method

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
return void

RegisterControllers() public static method

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