C# Класс Cedar.Core.ApplicationContexts.HttpSessionStateContextLocator

Наследование: ContextLocator
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

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

Метод Описание
Clear ( ) : void

Clear the current context item collection.

ContextItemExits ( string key ) : bool

Check if the context item of the given key exists.

GetContextItem ( string key ) : ContextItem

Get an existing context item by given key.

GetCurrentContext ( ) : ContextItemCollection

Get all current context item collection.

HttpSessionStateContextLocator ( ) : System.Collections.Generic

Initializes a new instance of the T:Cedar.Core.ApplicationContexts.HttpSessionStateContextLocator class.

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

Метод Описание
SetContextItemCore ( ContextItem contextItem ) : void

Add a new context item or use the new context item to override the exiting one.

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

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

Clear the current context item collection.
public Clear ( ) : void
Результат void

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

Check if the context item of the given key exists.
public ContextItemExits ( string key ) : bool
key string The key of the .
Результат bool

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

Get an existing context item by given key.
public GetContextItem ( string key ) : ContextItem
key string The key of the to get.
Результат ContextItem

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

Get all current context item collection.
public GetCurrentContext ( ) : ContextItemCollection
Результат ContextItemCollection

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

Initializes a new instance of the T:Cedar.Core.ApplicationContexts.HttpSessionStateContextLocator class.
public HttpSessionStateContextLocator ( ) : System.Collections.Generic
Результат System.Collections.Generic

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

Add a new context item or use the new context item to override the exiting one.
protected SetContextItemCore ( ContextItem contextItem ) : void
contextItem ContextItem The new to set.
Результат void