|
.NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT | |||||||||
| Constructor Summary | |
|---|---|
|
AbstractContext() default CTOR |
|
|
AbstractContext(NVelocity.Context.IContext inner) Chaining constructor accepts a Context argument. It will relay get() operations into this Context in the even the 'local' get() returns null. |
|
| Property Summary | |
|---|---|
| NVelocity.Context.IContext | ChainedContext |
| object[] | Keys |
| Properties inherited from class NVelocity.Context.InternalContextBase |
|---|
| CurrentResource, CurrentTemplateName, EventCartridge, TemplateNameStack |
| Method Summary | |
|---|---|
| bool |
ContainsKey(object key) Indicates whether the specified key is in the context. Provided for debugging purposes. * |
| object |
Get(string key) Gets the value corresponding to the provided key from the context. * Supports the chaining context mechanism. If the 'local' context doesn't have the value, we try to get it from the chained context. * |
| bool | InternalContainsKey(object key) |
| object | InternalGet(string key) |
| object[] | InternalGetKeys() |
| object | InternalPut(string key, object value_Renamed) |
| object | InternalRemove(object key) |
| object |
Put(string key, object value_Renamed) Adds a name/value pair to the context. |
| object |
Remove(object key) Removes the value associated with the specified key from the context. * |
| Methods inherited from class NVelocity.Context.InternalContextBase |
|---|
| AttachEventCartridge, ICacheGet, ICachePut, PopCurrentTemplateName, PushCurrentTemplateName |
| Methods inherited from class System.Object |
|---|
| Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
| Constructor Detail |
|---|
public AbstractContext()
default CTOR
public AbstractContext(NVelocity.Context.IContext inner)
Chaining constructor accepts a Context argument. It will relay get() operations into this Context in the even the 'local' get() returns null.
Parameters:
inner - context to be chained
| Property Detail |
|---|
public NVelocity.Context.IContext ChainedContext
public object[] Keys
| Method Detail |
|---|
public bool ContainsKey(object key)
Indicates whether the specified key is in the context. Provided for debugging purposes. *
Parameters:
key - The key to look for.
public object Get(string key)
Gets the value corresponding to the provided key from the context. * Supports the chaining context mechanism. If the 'local' context doesn't have the value, we try to get it from the chained context. *
Parameters:
key - The name of the desired value.
public bool InternalContainsKey(object key)
public object InternalGet(string key)
public object[] InternalGetKeys()
public object InternalPut(string key,
object value_Renamed)
public object InternalRemove(object key)
public object Put(string key,
object value_Renamed)
Adds a name/value pair to the context.
Parameters:
key - The name to key the provided value with.
value - The corresponding value.
public object Remove(object key)
Removes the value associated with the specified key from the context. *
Parameters:
key - The name of the value to remove.
nullif unmapped.
|
.NET Framework | |||||||||
| PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT | |||||||||