Method | Description | |
---|---|---|
AttachContext ( ContextItemCollection context, ContextAttachBehavior behavior ) : void |
Attach a new context item collection to the current context.
|
|
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 ) : |
Get an existing context item by given key.
|
|
GetCurrentContext ( ) : ContextItemCollection |
Get all current context item collection.
|
|
SetContextItem ( |
Add a new context item or use the new context item to override the exiting one.
|
Method | Description | |
---|---|---|
SetContextItemCore ( |
Set context item inernally.
|
Method | Description | |
---|---|---|
EnsureCanWrite ( |
public AttachContext ( ContextItemCollection context, ContextAttachBehavior behavior ) : void | ||
context | ContextItemCollection | The |
behavior | ContextAttachBehavior | The |
return | void |
public abstract ContextItemExits ( string key ) : bool | ||
key | string | The key of the |
return | bool |
public abstract GetContextItem ( string key ) : |
||
key | string | The key of the |
return |
public abstract GetCurrentContext ( ) : ContextItemCollection | ||
return | ContextItemCollection |
public SetContextItem ( |
||
contextItem | The new |
|
return | void |
protected abstract SetContextItemCore ( |
||
contextItem | The context item. | |
return | void |