[Mono-devel-list] User-defined explicit conversions and LDAP

Matt Ryan mryan at novell.com
Fri Sep 26 16:11:01 EDT 2003


I'm currently trying to coordinate existing open-source efforts for a C# LDAP implementation with those here at Novell such that there is a good class library for Mono and LDAP.



-Matt Ryan
Software Engineer
Linux/ZEN Developer Champion
Worldwide Developer Support

Novell, Inc., the leading provider of information solutions
http://www.novell.com

>>> Olof Härwell <olof.harwell at labs2.com> 9/26/2003 3:13:02 AM >>>
Hi All

New to the list and Mono in general I have two questions (that I got 
after starting to port my existing work to Mono):

How is the status/strategy regarding LDAP in Mono?
Should the Mono.Directory.LDAP be extended and continue to use external 
lib? Or should the Microsoft.DirectoryServices be implemented in a way 
that is doesn't use ADSI? One idea could maybe be to port the 
OpenLDAP/Novell JLDAP (http://www.openldap.org/jldap/) to c#. This would 
give use a framework that isn't dependent on any external libs. Any 
comments?

Also, I couldn't get the nice User-Defined explicit cast-feature to work 
  as it did in MS CLR. Is this feature not supported yet? (More info 
about it below)

User-Defined Conversions Tutorial
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vcwlkuser-definedconversionstutorial.asp>

6.4.4 User-defined explicit conversions
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csspec/html/vclrfcsharpspec_6_4.asp>

This didn't work (wasn't called at all when it should):
<snip>
public static implicit operator string(ConfigurationItem item)
{
	return item.Value;
}
</snip>

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com 
http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list