1. Create your own custom attributes. 2. Check out AOP - http://en.wikipedia.org/wiki/Aspect_oriented_programming 3. Check out PostSharp - http://www.postsharp.org/
On Sep 21, 11:05 pm, kuper <[EMAIL PROTECTED]> wrote: > Hi > > I have a log() function that logs objects or xml data. > > No i want to integrate this with my core dll classes. One way is to > write the fuction call in each and every method. Wich i dont want. > > I need some way so that all my class fuctions will call this log() > autometically. > or > it will be mandetory for all functions to call this log() within them. > > Thanks > K. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://cm.megasolutions.net/forums/default.aspx -~----------~----~----~----~------~----~------~--~---
