NVelocity.Context
Class InternalContextAdapterImpl

Constructor Summary
InternalContextAdapterImpl(NVelocity.Context.IContext c)
         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.

Property Summary
NVelocity.Context.InternalContextAdapter BaseContext
NVelocity.Runtime.Resource.Resource CurrentResource
string CurrentTemplateName
NVelocity.App.Events.EventCartridge EventCartridge
NVelocity.Context.IContext InternalUserContext
object[] Keys
object[] TemplateNameStack

Method Summary
NVelocity.App.Events.EventCartridge AttachEventCartridge(NVelocity.App.Events.EventCartridge ec)
         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
bool ContainsKey(object key)
object Get(string key)
NVelocity.Util.Introspection.IntrospectionCacheData ICacheGet(object key)
void ICachePut(object key, NVelocity.Util.Introspection.IntrospectionCacheData o)
void PopCurrentTemplateName()
void PushCurrentTemplateName(string s)
object Put(string key, object value_Renamed)
object Remove(object key)

Methods inherited from class System.Object
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString


Constructor Detail

InternalContextAdapterImpl

public InternalContextAdapterImpl(NVelocity.Context.IContext c)

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.

Property Detail

BaseContext

public NVelocity.Context.InternalContextAdapter BaseContext


CurrentResource

public NVelocity.Runtime.Resource.Resource CurrentResource


CurrentTemplateName

public string CurrentTemplateName


EventCartridge

public NVelocity.App.Events.EventCartridge EventCartridge


InternalUserContext

public NVelocity.Context.IContext InternalUserContext


Keys

public object[] Keys


TemplateNameStack

public object[] TemplateNameStack

Method Detail

AttachEventCartridge

public NVelocity.App.Events.EventCartridge AttachEventCartridge(NVelocity.App.Events.EventCartridge ec)

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


ContainsKey

public bool ContainsKey(object key)


Get

public object Get(string key)


ICacheGet

public NVelocity.Util.Introspection.IntrospectionCacheData ICacheGet(object key)


ICachePut

public void ICachePut(object key,
                      NVelocity.Util.Introspection.IntrospectionCacheData o)


PopCurrentTemplateName

public void PopCurrentTemplateName()


PushCurrentTemplateName

public void PushCurrentTemplateName(string s)


Put

public object Put(string key,
                  object value_Renamed)


Remove

public object Remove(object key)