C# Class DotNetNuke.Extensions.ServiceLocation.DotNetNukeServiceLocator

Class that provides an implementation of the IServiceLocator interface specific to DotNetNuke's ComponentModel contracts.
Inheritance: ServiceLocatorImplBase
Afficher le fichier Open project: JonHaywood/DotNetNuke.Extensions

Méthodes publiques

Méthode Description
DotNetNukeServiceLocator ( IContainer container ) : System

Initializes a new instance of the DotNetNukeServiceLocator class.

Méthodes protégées

Méthode Description
DoGetAllInstances ( Type serviceType ) : IEnumerable

When implemented by inheriting classes, this method will do the actual work of resolving all the requested service instances.

DoGetInstance ( Type serviceType, string key ) : object

When implemented by inheriting classes, this method will do the actual work of resolving the requested service instance.

Method Details

DoGetAllInstances() protected méthode

When implemented by inheriting classes, this method will do the actual work of resolving all the requested service instances.
protected DoGetAllInstances ( Type serviceType ) : IEnumerable
serviceType System.Type Type of service requested.
Résultat IEnumerable

DoGetInstance() protected méthode

When implemented by inheriting classes, this method will do the actual work of resolving the requested service instance.
protected DoGetInstance ( Type serviceType, string key ) : object
serviceType System.Type Type of instance requested.
key string Name of registered service you want. May be null.
Résultat object

DotNetNukeServiceLocator() public méthode

Initializes a new instance of the DotNetNukeServiceLocator class.
public DotNetNukeServiceLocator ( IContainer container ) : System
container IContainer The container.
Résultat System