C# Class CrowdSourcedNews.Services.DependencyResolvers.DbDependencyResolver

Inheritance: IDependencyResolver
Afficher le fichier Open project: vladislav-karamfilov/TelerikAcademy

Méthodes publiques

Méthode Description
BeginScope ( ) : IDependencyScope
DbDependencyResolver ( DbContext context ) : System
Dispose ( ) : void
GetService ( Type serviceType ) : object
GetServices ( Type serviceType ) : IEnumerable

Method Details

BeginScope() public méthode

public BeginScope ( ) : IDependencyScope
Résultat IDependencyScope

DbDependencyResolver() public méthode

public DbDependencyResolver ( DbContext context ) : System
context DbContext
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetService() public méthode

public GetService ( Type serviceType ) : object
serviceType System.Type
Résultat object

GetServices() public méthode

public GetServices ( Type serviceType ) : IEnumerable
serviceType System.Type
Résultat IEnumerable