C# Class BeiDream.Web.Api.Dependency.ApiControllerActivator

This class is used to use IOC system to create api controllers. It's used by ASP.NET system.
Inheritance: IHttpControllerActivator
Mostra file Open project: BeiMeng/BeiDream

Public Methods

Method Description
ApiControllerActivator ( IIocResolver iocResolver ) : System
Create ( HttpRequestMessage request, HttpControllerDescriptor controllerDescriptor, Type controllerType ) : IHttpController

Method Details

ApiControllerActivator() public method

public ApiControllerActivator ( IIocResolver iocResolver ) : System
iocResolver IIocResolver
return System

Create() public method

public Create ( HttpRequestMessage request, HttpControllerDescriptor controllerDescriptor, Type controllerType ) : IHttpController
request System.Net.Http.HttpRequestMessage
controllerDescriptor HttpControllerDescriptor
controllerType System.Type
return IHttpController