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

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

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

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetService ( Type serviceType ) : object
GetServices ( Type serviceType ) : IEnumerable
Scope ( IChildContainer container, System.Action disposeAction ) : System

Initializes a new instance of the Scope class.

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

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат 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