|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Delegate Naming StandardDoes anybody have a good standard for naming delegates? That would be,
other than your run of the mill EventHandler. My problem is that the name of the delegate, it's return type and instances of it usually end up looking very similar. It gets very difficult to tell which is the symbol of the delegate definition and which is symbol of the delegate implementation. My gut feeling is to prefix delegate definition symbols with 'delegate'. But this contravines the MS naming guidlines which say that public identifiers should be Pascal cased. Any thoughts would be appreciated. Chris. Something like that?
EventReturn EventFunction(EventArg e) I don't think there guideline about proper name, you should be imaginative.... ;-) -- Show quoteRegards, Lloyd Dupont NovaMind development team NovaMind Software Mind Mapping Software <www.nova-mind.com> <xtopher.bra***@gmail.com> wrote in message news:1140050725.954953.13210@g43g2000cwa.googlegroups.com... > Does anybody have a good standard for naming delegates? That would be, > other than your run of the mill EventHandler. My problem is that the > name of the delegate, it's return type and instances of it usually end > up looking very similar. It gets very difficult to tell which is the > symbol of the delegate definition and which is symbol of the delegate > implementation. > > My gut feeling is to prefix delegate definition symbols with > 'delegate'. But this contravines the MS naming guidlines which say that > public identifiers should be Pascal cased. > > Any thoughts would be appreciated. > > Chris. > |
|||||||||||||||||||||||