C# Class JinianNet.JNTemplate.Parser.VariableScope

变量域
Afficher le fichier Open project: jiniannet/jntemplate Class Usage Examples

Méthodes publiques

Méthode Description
Clear ( ) : void

清空数据

Clear ( System.Boolean all ) : void

清空数据

ContainsKey ( String key ) : System.Boolean

是否包含指定键

Push ( String key, Object value ) : void

添加数据

Remove ( String key ) : System.Boolean

移除指定对象

VariableScope ( ) : System

无参构造函数

VariableScope ( Object>.IDictionary dictionary ) : System

以字典来初始化对象

VariableScope ( VariableScope parent ) : System

以父VariableScope来初始化对象

VariableScope ( VariableScope parent, Object>.IDictionary dictionary ) : System

以父VariableScope与字典来初始化对象

this ( String name ) : Object

获取索引值

Private Methods

Méthode Description
SetValue ( String key, Object value ) : System.Boolean

为已有键设置新的值(本方法供set标签做特殊处理使用)

Method Details

Clear() public méthode

清空数据
public Clear ( ) : void
Résultat void

Clear() public méthode

清空数据
public Clear ( System.Boolean all ) : void
all System.Boolean 是否清空父数据
Résultat void

ContainsKey() public méthode

是否包含指定键
public ContainsKey ( String key ) : System.Boolean
key String
Résultat System.Boolean

Push() public méthode

添加数据
public Push ( String key, Object value ) : void
key String
value Object
Résultat void

Remove() public méthode

移除指定对象
public Remove ( String key ) : System.Boolean
key String
Résultat System.Boolean

VariableScope() public méthode

无参构造函数
public VariableScope ( ) : System
Résultat System

VariableScope() public méthode

以字典来初始化对象
public VariableScope ( Object>.IDictionary dictionary ) : System
dictionary Object>.IDictionary 初始化字典
Résultat System

VariableScope() public méthode

以父VariableScope来初始化对象
public VariableScope ( VariableScope parent ) : System
parent VariableScope 父VariableScope
Résultat System

VariableScope() public méthode

以父VariableScope与字典来初始化对象
public VariableScope ( VariableScope parent, Object>.IDictionary dictionary ) : System
parent VariableScope 父VariableScope
dictionary Object>.IDictionary 初始化字典
Résultat System

this() public méthode

获取索引值
public this ( String name ) : Object
name String 索引名称
Résultat Object