C# Класс GSoft.Dynamite.ServiceLocator.ChildScopeFactory

Helps to maintain long-lived child containers
Наследование: IChildScopeFactory
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetChildLifetimeScope ( ILifetimeScope parentScope, string scopeKindTag, string childScopeKey ) : ILifetimeScope

A tag to identify this kind of scope so it can be reused to share objects through fancy registration extensions (e.g. InstancePerSPSite, InstancePerSPWeb) Creates a new child scope or returns an existing child scope.

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

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

A tag to identify this kind of scope so it can be reused to share objects through fancy registration extensions (e.g. InstancePerSPSite, InstancePerSPWeb) Creates a new child scope or returns an existing child scope.
public GetChildLifetimeScope ( ILifetimeScope parentScope, string scopeKindTag, string childScopeKey ) : ILifetimeScope
parentScope ILifetimeScope The current parent container.
scopeKindTag string
childScopeKey string A key to uniquely identify this scope within the container.
Результат ILifetimeScope