C# Class API_9.App_Start.UnityDependencyResolver

Inheritance: IDependencyResolver
Show file Open project: BarlowDu/WebAPI Class Usage Examples

Public Methods

Method Description
BeginScope ( ) : IDependencyScope
Dispose ( ) : void
GetService ( Type serviceType ) : object
GetServices ( Type serviceType ) : IEnumerable

Private Methods

Method Description
UnityDependencyResolver ( ) : System

Method Details

BeginScope() public method

public BeginScope ( ) : IDependencyScope
return IDependencyScope

Dispose() public method

public Dispose ( ) : void
return void

GetService() public method

public GetService ( Type serviceType ) : object
serviceType System.Type
return object

GetServices() public method

public GetServices ( Type serviceType ) : IEnumerable
serviceType System.Type
return IEnumerable