C# Класс Griffin.Container.Mvc5.Scope

Our dependency scope implementation
Наследование: IDependencyScope
Показать файл Открыть проект

Открытые методы

Метод Описание
GetService ( Type serviceType ) : object
GetServices ( Type serviceType ) : IEnumerable
Scope ( IChildContainer container, System.Action disposeAction ) : System

Initializes a new instance of the Scope class.

Приватные методы

Метод Описание
Dispose ( ) : void
Dispose ( bool disposing ) : void

Описание методов

GetService() публичный Метод

public GetService ( Type serviceType ) : object
serviceType System.Type
Результат object

GetServices() публичный Метод

public GetServices ( Type serviceType ) : IEnumerable
serviceType System.Type
Результат IEnumerable

Scope() публичный Метод

Initializes a new instance of the Scope class.
public Scope ( IChildContainer container, System.Action disposeAction ) : System
container IChildContainer The scoped container.
disposeAction System.Action The dispose action (invoked when the scope is disposed).
Результат System