C# 클래스 Griffin.Container.Mvc5.ContainerRegistrarExtensions

Extension methods for the HTTP integration
파일 보기 프로젝트 열기: jgauffin/Griffin.Container

공개 메소드들

메소드 설명
RegisterApiControllers ( this registrar, Assembly assembly ) : void

Scan specified assembly after WebApi controllers.

RegisterControllers ( this registrar, Assembly assembly ) : void

Register all controllers

메소드 상세

RegisterApiControllers() 공개 정적인 메소드

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
리턴 void

RegisterControllers() 공개 정적인 메소드

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