public virtual GQHSMVariable this[string key] { get { if (!_variables.ContainsKey(key)) { GQHSMVariable newVar = new GQHSMVariable(null); newVar.SetReference(null, null); _variables.Add(key, newVar); } return(_variables[key]); } set { if (!_variables.ContainsKey(key)) { _variables.Add(key, value); } else { _variables[key] = value; } } }
public void Copy(GQHSMVariable src) { _value = src._value; _name = src._name; _handlerClass = src._handlerClass; _fieldInfo = src._fieldInfo; _propertyInfo = src._propertyInfo; _bIsInDirect = src._bIsInDirect; }