Méthode | Description | |
---|---|---|
EndLifetimeScope ( ) : void |
Disposes a lifetime scope and all its children. This implementation should be empty because SPSite-bound scope should live as long as the application container.
|
|
EnsureSiteScope ( SPSite site ) : ILifetimeScope |
Ensure the creation of a site-collection-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.
|
|
SPSiteLifetimeScopeProvider ( ISharePointContainerProvider containerProvider ) : System |
Creates a new per-SPSite lifetime scope provider so that state can be shared throughout the app's lifetime on a per-site-collection basis.
|
Méthode | Description | |
---|---|---|
EnsureSiteScopeInternal ( SPSite site ) : ILifetimeScope |
public EnsureSiteScope ( SPSite site ) : ILifetimeScope | ||
site | SPSite | The current site collection |
Résultat | ILifetimeScope |
public SPSiteLifetimeScopeProvider ( ISharePointContainerProvider containerProvider ) : System | ||
containerProvider | ISharePointContainerProvider | The current container provider |
Résultat | System |