public Property AddProperty(string name, Type retType, Type[] pars) { Property p = new Property(name, retType, pars, this); if (properties == null) properties = new ArrayList(); properties.Add(p); return p; }