Inheritance: ICustomTypeDescriptor
Beispiel #1
0
 private void AddSpellToExplorer(SpellEntry S)
 {
     DynamicObject D = new DynamicObject(S);
     if (cbDBfields.Checked)
         D.Filter = String.Join(";", SpellDBC.SpellDBCFields.ToArray());
     pg_Spell.SelectedObject = D;
 }
 public GenericPropertyDescriptor(string name, Attribute[] attrs, DynamicObject S)
     : base(name, attrs)
 {
     _SE = S;
     f   = typeof(SpellEntry).GetField(name);
 }
 public GenericPropertyDescriptor(string name, Attribute[] attrs, DynamicObject S)
     : base(name, attrs)
 {
     _SE=S;
     f = typeof(SpellEntry).GetField(name);
 }