[Mono-list] .NET C# LDAP Libraray.
Lluis Sanchez
lluis@ximian.com
Fri, 14 Nov 2003 13:55:54 +0100
These are the guidelines for .NET class libraries published by MS:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconnetframeworkdesignguidelines.asp
You may find it useful.
Lluis.
On dv, 2003-11-14 at 06:15, Sunil Kumar wrote:
> Ben,
> Thanks a lot for pointing out for sticking to C# naming Guidelines
> . We are looking into it, what best we can do about it.
>
> Regards,
> Sunil Kumar
> Novell,bangalore
>
> >>> Ben Maurer <bmaurer@users.sourceforge.net> 11/14/2003 5:47:36 AM
> >>>
> Hello Matt,
>
> I was taking a quick look at your sources, they look great! One thing
> I
> did notice, however, is that you guys are naming your classes things
> like:
> LDAPFoobar
>
> However, in c# the guidelines for when you have a situation like that:
>
> 1) if the first part is two letters, keep it uppercase (eg, IPAddress)
> 2) otherwise, only have the first letter uppercase (XmlTextWriter,
> LdapFoobar)
>
> Right now, you are early enough in the design process that this can
> easily be fixed with a tad of grep magic (no need to worry about
> history-- there is nothing to loose).
>
> I would highly advise running FxCop (i realize it only runs in
> Windows,
> some day I think we should make something like it for mono).
>
> Better to catch stuff like this early when you dont have to take
> compat,
> cvs history etc into account.
>
> -- Ben
>
> _______________________________________________
> Mono-list maillist - Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> _______________________________________________
> Mono-list maillist - Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list