C# Class Glass.Mapper.Sc.SitecoreContext

Class SitecoreContext
Inheritance: AbstractSitecoreContext
Mostrar archivo Open project: mikeedwards83/Glass.Mapper Class Usage Examples

Public Methods

Method Description
SitecoreContext ( ) : System

Initializes a new instance of the SitecoreContext class.

SitecoreContext ( Context context ) : System

Initializes a new instance of the SitecoreContext class.

SitecoreContext ( Database database ) : System

Used for unit tests only

SitecoreContext ( string contextName ) : System

Initializes a new instance of the AbstractService class.

Protected Methods

Method Description
SitecoreContext ( Database database, IGlassContextProvider glassContextProvider ) : System

Private Methods

Method Description
GetFromHttpContext ( string contextName = null ) : ISitecoreContext

Method Details

SitecoreContext() public method

Initializes a new instance of the SitecoreContext class.
public SitecoreContext ( ) : System
return System

SitecoreContext() public method

Initializes a new instance of the SitecoreContext class.
public SitecoreContext ( Context context ) : System
context Context The context.
return System

SitecoreContext() public method

Used for unit tests only
public SitecoreContext ( Database database ) : System
database Database
return System

SitecoreContext() protected method

protected SitecoreContext ( Database database, IGlassContextProvider glassContextProvider ) : System
database Database
glassContextProvider IGlassContextProvider
return System

SitecoreContext() public method

Initializes a new instance of the AbstractService class.
public SitecoreContext ( string contextName ) : System
contextName string Name of the context.
return System