Overridable "helper" classes (IrcChannel, IrcUser, ..)

Asked by Manuel Warum on 2011-09-15

Hi,

I am considering to override some of the classes created and maintained by the IrcClient class, such as IrcChannel and IrcUser. I want to do this to add additional behaviour and data that might not be cleanly solvable with wrappers or extensions. This would however require me to override methods where IrcClient instantiates these classes and somehow return my own subclasses.

Would this be doable? And would it be possible to take this into account for the future development of Irc.Net? Something along the lines of factory classes/methods perhaps?

Thanks in advance,
Manuel

Question information

Language:
English Edit question
Status:
Open
For:
IRC.NET Edit question
Assignee:
Alexander Regueiro Edit question
Last query:
2011-09-15
Last reply:

Can you help with this problem?

Provide an answer of your own, or ask Manuel Warum for more information if necessary.

To post a message you must log in.