Example #1
0
 public string this[string index]
 {
     get
     {
         if (_values.ContainsKey(index.Trim()))
         {
             return _values[index.Trim()];
         }
         return "";
     }
     set
     {
         var args = new NodeValueChangedEventArgs(index.Trim(), value.Trim());
         OnValueChanged(args);
         _values[args.ValueName] = args.NewValue;
     }
 }
Example #2
0
 private void OnValueChanged(NodeValueChangedEventArgs args)
 {
     if (valueChanged != null)
     {
         valueChanged(this, args);
     }
 }