메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
EnsureSiteScopeInternal ( SPSite site ) : ILifetimeScope |
public EnsureSiteScope ( SPSite site ) : ILifetimeScope | ||
site | SPSite | The current site collection |
리턴 | ILifetimeScope |
public SPSiteLifetimeScopeProvider ( ISharePointContainerProvider containerProvider ) : System | ||
containerProvider | ISharePointContainerProvider | The current container provider |
리턴 | System |