C# 클래스 GSoft.Dynamite.ServiceLocator.SPWebLifetimeScopeProvider

Lifetime scope provider the help share state at the SPWeb-level
상속: SPLifetimeScopeProvider
파일 보기 프로젝트 열기: GSoft-SharePoint/Dynamite-2010 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
EnsureWebScopeInternal ( SPWeb web ) : ILifetimeScope

메소드 상세

EndLifetimeScope() 공개 메소드

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.
public EndLifetimeScope ( ) : void
리턴 void

EnsureWebScope() 공개 메소드

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.
public EnsureWebScope ( SPWeb web ) : ILifetimeScope
web SPWeb The current web
리턴 ILifetimeScope

SPWebLifetimeScopeProvider() 공개 메소드

Initializes a new instance of the SPWebLifetimeScopeProvider class.
public SPWebLifetimeScopeProvider ( ISharePointContainerProvider containerProvider ) : System
containerProvider ISharePointContainerProvider /// The container provider. ///
리턴 System