Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jesuarez

Pages: [1]
1
General Board / Re: "Template Classes"
« on: April 21, 2006, 12:05:36 pm »
Midnight,

Thanks for your reply.

I'm documenting an existing framework that i don't have the oportunity to change now, for example adding a base class or interface (if i add it in the model it will not refelct the reality).  :-[

I agree with your approach, but i can't do that in this scenario.

So, I have to add a clases that always have the same methods and don't implement a common interface or inherit from a base class.

Regards,
Juan

2
General Board / "Template Classes"
« on: April 21, 2006, 08:22:02 am »
Hi,

I need to create classes that not implements any interface (legacy reasons) but have common methods and attributes.

So, every time i create a class of this type I have to manually add these methods.

Can I automate this createa something similar to Template Methods? I didn't understand the purpose of Metaclasses.... may be it could be useful.

Thanks in advance,
Regards,
Juan


Pages: [1]