List in c# .Net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sarabonn
    New Member
    • Nov 2008
    • 69

    List in c# .Net

    hello everyone,

    Iam using cookcomputing xmlrpc dll to send xmlrpc request to a server. The server function is written in python which accept one argument in type list

    do_it(object_id , services={}, reset=False)

    I mean the services argument is a list.

    Iam using a interface to create a proxy like this

    Code:
     public interface chawpref : IXmlRpcProxy
            {    
                [XmlRpcMethod("chawpref")]
               
                XmlRpcStruct chawpref(string id,, bool reset); 
    
            }
    i actually created a string array like this
    Code:
    string[] services = new string[2] { "{'aw_email':", "{'eve_change:true'}}" };
    but it only accept the type list.

    So how can i create a list which i can pass it to xmlrpcstruct method above ?..

    Thank you.
Working...