C# Class Cedar.Framework.Common.Client.MVC.ServiceLocatableDependencyResolver

A custom DependencyResolver which uses ServiceLocator to acticvate service.
Inheritance: IDependencyResolver
Afficher le fichier Open project: Chinaccn/surfboard

Méthodes publiques

Méthode Description
GetService ( Type serviceType ) : object

Gets the service.

GetServices ( Type serviceType ) : IEnumerable

Gets the services.

ServiceLocatableDependencyResolver ( string serviceLocatorName = "" ) : System

Method Details

GetService() public méthode

Gets the service.
public GetService ( Type serviceType ) : object
serviceType System.Type Type of the service.
Résultat object

GetServices() public méthode

Gets the services.
public GetServices ( Type serviceType ) : IEnumerable
serviceType System.Type Type of the service.
Résultat IEnumerable

ServiceLocatableDependencyResolver() public méthode

public ServiceLocatableDependencyResolver ( string serviceLocatorName = "" ) : System
serviceLocatorName string
Résultat System