C# Класс Glass.Mapper.Sc.SitecoreContext

Class SitecoreContext
Наследование: AbstractSitecoreContext
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
SitecoreContext ( Database database, IGlassContextProvider glassContextProvider ) : System

Приватные методы

Метод Описание
GetFromHttpContext ( string contextName = null ) : ISitecoreContext

Описание методов

SitecoreContext() публичный Метод

Initializes a new instance of the SitecoreContext class.
public SitecoreContext ( ) : System
Результат System

SitecoreContext() публичный Метод

Initializes a new instance of the SitecoreContext class.
public SitecoreContext ( Context context ) : System
context Context The context.
Результат System

SitecoreContext() публичный Метод

Used for unit tests only
public SitecoreContext ( Database database ) : System
database Database
Результат System

SitecoreContext() защищенный Метод

protected SitecoreContext ( Database database, IGlassContextProvider glassContextProvider ) : System
database Database
glassContextProvider IGlassContextProvider
Результат System

SitecoreContext() публичный Метод

Initializes a new instance of the AbstractService class.
public SitecoreContext ( string contextName ) : System
contextName string Name of the context.
Результат System