示例#1
0
 public void SetField(string s, Object o, CatClass c)
 {
     Trace.Assert(c.HasField(s));
     mpClass = c;
     if (!mValues.ContainsKey(s))
         mValues.Add(s, o);
     else
         mValues[s] = o;
 }
示例#2
0
 public void SetField(string s, Object o, CatClass c)
 {
     Trace.Assert(c.HasField(s));
     mpClass = c;
     if (!mValues.ContainsKey(s))
     {
         mValues.Add(s, o);
     }
     else
     {
         mValues[s] = o;
     }
 }
示例#3
0
 public void AddField(CatClass x, string s, Object o)
 {
     Trace.Assert(x.HasField(s));
     mpClass = x;
     mValues.Add(s, o);
 }
示例#4
0
 public void AddField(CatClass x, string s, Object o)
 {
     Trace.Assert(x.HasField(s));
     mpClass = x;
     mValues.Add(s, o);
 }