tukarambande / xmlrpcnet

Automatically exported from code.google.com/p/xmlrpcnet
0 stars 0 forks source link

Generic Type Implementation #51

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Does anyone know if it's possible to implement a generic type in your 
interface?  I'm 
trying to do by:

    [XmlRpcUrl("http://www.devmysite.com/?q=services/xmlrpc")]
    public interface IDrupalService : IXmlRpcProxy
    {
        [XmlRpcMethod("node.get", IntrospectionMethod = true)]
         T Get<T>(string sessid, int nid, string[] fields) where T : DrupalNode;

    }

When I attempt to connect to my service I receive an error in 
"XmlRpcProxyGen.cs" around 
line # 112 at "typeBldr.CreateType();":

Method 'Get' in type 'XmlRpcProxyd4d8109a-e779-4239-8fd0-e54b597ee760' from 
assembly 
'XmlRpcProxyd4d8109a-e779-4239-8fd0-e54b597ee760, Version=1.0.0.0, 
Culture=neutral, 
PublicKeyToken=null' does not have an implementation.

Any suggestions? 

Original issue reported on code.google.com by Aaron.Mo...@gmail.com on 10 Mar 2009 at 2:59