C# 클래스 NVelocity.Context.AbstractContext

상속: InternalContextBase, IContext
파일 보기 프로젝트 열기: rasmus-toftdahl-olesen/NVelocity

공개 메소드들

메소드 설명
AbstractContext ( ) : System

default CTOR

AbstractContext ( IContext inner ) : System

Chaining constructor accepts a Context argument. It will relay get() operations into this Context in the even the 'local' get() returns null.

ContainsKey ( Object key ) : bool

Indicates whether the specified key is in the context. Provided for debugging purposes. *

Get ( String key ) : Object

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. *

InternalContainsKey ( Object key ) : bool

Implement to determine if a key is in the storage.

Currently, this method is not used internally by the Velocity core. *

InternalGet ( String key ) : Object

Implement to return a value from the context storage.

The implementation of this method is required for proper operation of a Context implementation in general Velocity use.

InternalGetKeys ( ) : Object[]

Implement to return an object array of key strings from your storage.

Currently, this method is not used internally by the Velocity core. *

InternalPut ( String key, Object value ) : Object

Implement to put a value into the context storage.

The implementation of this method is required for proper operation of a Context implementation in general Velocity use. *

InternalRemove ( Object key ) : Object

Implement to remove an item from your storage.

Currently, this method is not used internally by the Velocity core. *

Put ( String key, Object value ) : Object

Adds a name/value pair to the context.

Remove ( Object key ) : Object

Get all the keys for the values in the context

Removes the value associated with the specified key from the context. *

메소드 상세

AbstractContext() 공개 메소드

default CTOR
public AbstractContext ( ) : System
리턴 System

AbstractContext() 공개 메소드

Chaining constructor accepts a Context argument. It will relay get() operations into this Context in the even the 'local' get() returns null.
public AbstractContext ( IContext inner ) : System
inner IContext context to be chained /// ///
리턴 System

ContainsKey() 공개 메소드

Indicates whether the specified key is in the context. Provided for debugging purposes. *
public ContainsKey ( Object key ) : bool
key Object The key to look for. ///
리턴 bool

Get() 공개 메소드

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. *
public Get ( String key ) : Object
key String The name of the desired value. ///
리턴 Object

InternalContainsKey() 공개 추상적인 메소드

Implement to determine if a key is in the storage.

Currently, this method is not used internally by the Velocity core. *
public abstract InternalContainsKey ( Object key ) : bool
key Object key to test for existance ///
리턴 bool

InternalGet() 공개 추상적인 메소드

Implement to return a value from the context storage.

The implementation of this method is required for proper operation of a Context implementation in general Velocity use.
public abstract InternalGet ( String key ) : Object
key String key whose associated value is to be returned ///
리턴 Object

InternalGetKeys() 공개 추상적인 메소드

Implement to return an object array of key strings from your storage.

Currently, this method is not used internally by the Velocity core. *
public abstract InternalGetKeys ( ) : Object[]
리턴 Object[]

InternalPut() 공개 추상적인 메소드

Implement to put a value into the context storage.

The implementation of this method is required for proper operation of a Context implementation in general Velocity use. *
public abstract InternalPut ( String key, Object value ) : Object
key String key with which to associate the value ///
value Object value to be associated with the key ///
리턴 Object

InternalRemove() 공개 추상적인 메소드

Implement to remove an item from your storage.

Currently, this method is not used internally by the Velocity core. *
public abstract InternalRemove ( Object key ) : Object
key Object key to remove ///
리턴 Object

Put() 공개 메소드

Adds a name/value pair to the context.
public Put ( String key, Object value ) : Object
key String The name to key the provided value with. ///
value Object The corresponding value. ///
리턴 Object

Remove() 공개 메소드

Get all the keys for the values in the context Removes the value associated with the specified key from the context. *
public Remove ( Object key ) : Object
key Object The name of the value to remove. ///
리턴 Object