C# Class GSoft.Dynamite.ServiceLocator.ChildScopeFactory

Helps to maintain long-lived child containers
Inheritance: IChildScopeFactory
Mostrar archivo Open project: GSoft-SharePoint/Dynamite-2010 Class Usage Examples

Public Methods

Method Description
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.

Method Details

GetChildLifetimeScope() public method

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.
return ILifetimeScope