C# Class Cares.WebBase.UnityConfiguration.UnityDependencyScope

Unity dependency scope
Inheritance: IDependencyScope
显示文件 Open project: innoist/GF-FRS

Protected Properties

Property Type Description
container IUnityContainer

Public Methods

Method Description
Dispose ( ) : void

Dispose

GetService ( Type serviceType ) : object

Resolve a type

GetServices ( Type serviceType ) : IEnumerable

Resolve multiple types

UnityDependencyScope ( IUnityContainer container ) : System

Constructor

Method Details

Dispose() public method

Dispose
public Dispose ( ) : void
return void

GetService() public method

Resolve a type
public GetService ( Type serviceType ) : object
serviceType System.Type
return object

GetServices() public method

Resolve multiple types
public GetServices ( Type serviceType ) : IEnumerable
serviceType System.Type
return IEnumerable

UnityDependencyScope() public method

Constructor
public UnityDependencyScope ( IUnityContainer container ) : System
container IUnityContainer
return System

Property Details

container protected_oe property

protected IUnityContainer container
return IUnityContainer