C# Class WhippedCream.DataServiceDataLayer.DataServiceDependencyInstanceProvider

Whipped Cream uses this object so it can use Dependency Injection when creating instances of services hosts.
Inheritance: IInstanceProvider
Afficher le fichier Open project: KCL5South/WhippedCream Class Usage Examples

Méthodes publiques

Méthode Description
DataServiceDependencyInstanceProvider ( IUnityContainer container, Type serviceType ) : System

Constructor.

IInstanceProvider ( System instanceContext, object instance ) : void

Private Methods

Méthode Description
IInstanceProvider ( System instanceContext ) : object
IInstanceProvider ( System instanceContext, System message ) : object

Method Details

DataServiceDependencyInstanceProvider() public méthode

Constructor.
Thrown if or are null.
public DataServiceDependencyInstanceProvider ( IUnityContainer container, Type serviceType ) : System
container IUnityContainer The IOC container to use for dependency injection.
serviceType System.Type The type of host to create.
Résultat System

IInstanceProvider() public méthode

public IInstanceProvider ( System instanceContext, object instance ) : void
instanceContext System
instance object
Résultat void