private void AddClass(XElement parent, Type type) { AddClassElements(parent, MagickScriptTypes.GetProperties(type), MagickScriptTypes.GetMethods(type)); AddClassAttributes(parent, MagickScriptTypes.GetProperties(type)); }