Méthode | Description | |
---|---|---|
EndLifetimeScope ( ) : void |
This implementation should be empty because SPWeb-bound scope should live as long as their parent SPSite scope, which in turn lives as long as the application container.
|
|
EnsureWebScope ( SPWeb web ) : ILifetimeScope |
Ensure the creation of a web-specific lifetime scope (or reuse an existing one). Don't dispose this instance, as it is meant to live as long as the root app container.
|
|
SPWebLifetimeScopeProvider ( ISharePointContainerProvider containerProvider ) : System |
Initializes a new instance of the SPWebLifetimeScopeProvider class.
|
Méthode | Description | |
---|---|---|
EnsureWebScopeInternal ( SPWeb web ) : ILifetimeScope |
public EnsureWebScope ( SPWeb web ) : ILifetimeScope | ||
web | SPWeb | The current web |
Résultat | ILifetimeScope |
public SPWebLifetimeScopeProvider ( ISharePointContainerProvider containerProvider ) : System | ||
containerProvider | ISharePointContainerProvider | /// The container provider. /// |
Résultat | System |