[MonoDevelop] Rename project patch

Jacob Ilsø Christensen jacobilsoe at gmail.com
Tue Jun 7 15:55:38 EDT 2005


Hi.

Ok, I made the changes (a lot smaller patch!). Thanks for the
comments. Looks good now?

/Jacob

On 6/7/05, Lluis Sanchez <lluis at ximian.com> wrote:
> El dl 06 de 06 del 2005 a les 22:57 +0200, en/na Jacob Ilsø Christensen
> va escriure:
> > Hi.
> >
> > The attached patch makes sure that references to a project are updated
> > when the project is renamed.
> >
> > Any comments?
> 
> If you change Project.RenameReference so it removes the old reference
> and adds the a new one (instead of renaming), you can avoid adding the
> ReferenceRenamedInProject event and all changes in Combine and the
> ProjectPad (since they already deal with the add and remove events).
> 
> RenameReference should be internal.
> 
> Please, don't use a whole "switch(refInfo.ReferenceType)" with empty
> cases, when the same can be done with a single "if".
> 
> Thanks,
> Lluis.
> 
> >
> > /Jacob
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> 
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rename-project.patch
Type: text/x-patch
Size: 1995 bytes
Desc: not available
Url : http://galactus.ximian.com/pipermail/monodevelop-list/attachments/20050607/04eb0e39/rename-project.bin


More information about the Monodevelop-list mailing list