C# Class Cedar.Core.ApplicationContexts.HttpSessionStateContextLocator

Inheritance: ContextLocator
Show file Open project: Chinaccn/surfboard

Private Properties

Property Type Description

Public Methods

Method Description
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.

Protected Methods

Method Description
SetContextItemCore ( ContextItem contextItem ) : void

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

Method Details

Clear() public method

Clear the current context item collection.
public Clear ( ) : void
return void

ContextItemExits() public method

Check if the context item of the given key exists.
public ContextItemExits ( string key ) : bool
key string The key of the .
return bool

GetContextItem() public method

Get an existing context item by given key.
public GetContextItem ( string key ) : ContextItem
key string The key of the to get.
return ContextItem

GetCurrentContext() public method

Get all current context item collection.
public GetCurrentContext ( ) : ContextItemCollection
return ContextItemCollection

HttpSessionStateContextLocator() public method

Initializes a new instance of the T:Cedar.Core.ApplicationContexts.HttpSessionStateContextLocator class.
public HttpSessionStateContextLocator ( ) : System.Collections.Generic
return System.Collections.Generic

SetContextItemCore() protected method

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.
return void