C# Class GSoft.Dynamite.ServiceLocator.SPLifetimeScopeProvider

Base class for all type of SharePoint Life time scopes.
Inheritance: ILifetimeScopeProvider
Show file Open project: GSoft-SharePoint/Dynamite-2010

Protected Properties

Property Type Description
ContainerProvider ISharePointContainerProvider

Public Methods

Method Description
EndLifetimeScope ( ) : void

The end lifetime scope abstract method.

Protected Methods

Method Description
SPLifetimeScopeProvider ( ISharePointContainerProvider containerProvider ) : System

Initializes a new instance of the SPLifetimeScopeProvider class.

ThrowExceptionIfNotSPContext ( ) : void

The throw exception if no SPContext exists.

Method Details

EndLifetimeScope() public abstract method

The end lifetime scope abstract method.
public abstract EndLifetimeScope ( ) : void
return void

SPLifetimeScopeProvider() protected method

Initializes a new instance of the SPLifetimeScopeProvider class.
protected SPLifetimeScopeProvider ( ISharePointContainerProvider containerProvider ) : System
containerProvider ISharePointContainerProvider /// The container provider. ///
return System

ThrowExceptionIfNotSPContext() protected method

The throw exception if no SPContext exists.
/// Throws the InvalidOperationException if context is null ///
protected ThrowExceptionIfNotSPContext ( ) : void
return void

Property Details

ContainerProvider protected property

The SharePoint container provider.
protected ISharePointContainerProvider ContainerProvider
return ISharePointContainerProvider