C# Class NVelocity.Context.InternalContextAdapterImpl

Inheritance: InternalContextAdapter
Show file Open project: rasmus-toftdahl-olesen/NVelocity Class Usage Examples

Private Properties

Property Type Description
CreateEnumerator InternalContextAdapterImplEnumerator
IDictionary void
IEnumerable IEnumerator

Public Methods

Method Description
Add ( object key, object value ) : void
AttachEventCartridge ( EventCartridge eventCartridge ) : EventCartridge

returns the user data context that we are wrapping

Returns the base context that we are wrapping. Here, its this, but for other thing like VM related context contortions, it can be something else

Clear ( ) : void
Contains ( object key ) : bool
ContainsKey ( Object key ) : bool
CopyTo ( Array array, int index ) : void
Get ( String key ) : Object
GetEnumerator ( ) : IDictionaryEnumerator
ICacheGet ( Object key ) : IntrospectionCacheData
ICachePut ( Object key, IntrospectionCacheData o ) : void
InternalContextAdapterImpl ( IContext c ) : System

CTOR takes a Context and wraps it, delegating all 'data' calls to it. For support of internal contexts, it will create an InternalContextBase if need be.

PopCurrentTemplateName ( ) : void
PushCurrentTemplateName ( String s ) : void
Put ( String key, Object value ) : Object
Remove ( Object key ) : Object
this ( object key ) : object

Private Methods

Method Description
CreateEnumerator ( ) : InternalContextAdapterImplEnumerator
IDictionary ( Object key ) : void
IEnumerable ( ) : IEnumerator

Method Details

Add() public method

public Add ( object key, object value ) : void
key object
value object
return void

AttachEventCartridge() public method

returns the user data context that we are wrapping Returns the base context that we are wrapping. Here, its this, but for other thing like VM related context contortions, it can be something else
public AttachEventCartridge ( EventCartridge eventCartridge ) : EventCartridge
eventCartridge NVelocity.App.Events.EventCartridge
return NVelocity.App.Events.EventCartridge

Clear() public method

public Clear ( ) : void
return void

Contains() public method

public Contains ( object key ) : bool
key object
return bool

ContainsKey() public method

public ContainsKey ( Object key ) : bool
key Object
return bool

CopyTo() public method

public CopyTo ( Array array, int index ) : void
array System.Array
index int
return void

Get() public method

public Get ( String key ) : Object
key String
return Object

GetEnumerator() public method

public GetEnumerator ( ) : IDictionaryEnumerator
return IDictionaryEnumerator

ICacheGet() public method

public ICacheGet ( Object key ) : IntrospectionCacheData
key Object
return IntrospectionCacheData

ICachePut() public method

public ICachePut ( Object key, IntrospectionCacheData o ) : void
key Object
o IntrospectionCacheData
return void

InternalContextAdapterImpl() public method

CTOR takes a Context and wraps it, delegating all 'data' calls to it. For support of internal contexts, it will create an InternalContextBase if need be.
public InternalContextAdapterImpl ( IContext c ) : System
c IContext
return System

PopCurrentTemplateName() public method

public PopCurrentTemplateName ( ) : void
return void

PushCurrentTemplateName() public method

public PushCurrentTemplateName ( String s ) : void
s String
return void

Put() public method

public Put ( String key, Object value ) : Object
key String
value Object
return Object

Remove() public method

public Remove ( Object key ) : Object
key Object
return Object

this() public method

public this ( object key ) : object
key object
return object