C# Class CrowdSourcedNews.Services.DependencyResolvers.DbDependencyResolver

Inheritance: IDependencyResolver
Datei anzeigen Open project: vladislav-karamfilov/TelerikAcademy

Public Methods

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

Method Details

BeginScope() public method

public BeginScope ( ) : IDependencyScope
return IDependencyScope

DbDependencyResolver() public method

public DbDependencyResolver ( DbContext context ) : System
context DbContext
return System

Dispose() public method

public Dispose ( ) : void
return void

GetService() public method

public GetService ( Type serviceType ) : object
serviceType System.Type
return object

GetServices() public method

public GetServices ( Type serviceType ) : IEnumerable
serviceType System.Type
return IEnumerable