[MonoDevelop] stetic partial classes

Rafael Teixeira monoman at gmail.com
Sat Jun 30 09:43:54 EDT 2007


In truth Stetic do both ways, depending on the runtime version you are
targetting, and how you created the form in the first place.

Remember that partial classes are only recognized by the 2.0
compilers. So, if you doesn't say your project targets 2.0, BEFORE
creating your new window/form, Stetic will generate/maintain the old
fashioned files.

AFAIK, there's currently no automated way to migrate one form created
in the older style to the new 'partial-class' style.

Fun,

On 6/30/07, Jacob Ilsø Christensen <jacobilsoe at gmail.com> wrote:
> On 6/30/07, Jerome Haltom <wasabi at larvalstage.net> wrote:
> > Is there the ability in MD/Stetic to use partial classes? Right now it's
> > generating static methods in classes in gtk-gui... which is a bit
> > annoying.
>
> Not quite sure what you mean. MonoDevelop already uses partial classes
> together with Stetic. You get a partial class where you write your
> code and the other part where code is autogenerated.
>
> Regards,
> Jacob
>
> >
> > If not, any plans to implement it?
> >
> > If so, something you have to do to enable it?
> >
> > _______________________________________________
> > 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
>


-- 
Rafael "Monoman" Teixeira
---------------------------------------
"I myself am made entirely of flaws, stitched together with good intentions."
Augusten Burroughs


More information about the Monodevelop-list mailing list