[Mono-list] question about declarative programming

Pedro pedro100 at gmail.com
Sat Jan 31 15:36:54 EST 2009


I am trying to implement a XML-RPC client using this library:
http://www.xml-rpc.net/

The documentation is clear but it only reveals the tip of the iceberg.
In practice I am having this problem:
I don't know how to pass a variable to those comments between square brackets.

The source code ilustrate the problem btter than I can explain:
http://pastebin.com/fa40cac0

Note the highlighted line, I am trying to pass a class member instead
of a hardcoded string as suggested in the docs. But then I get this
error:

-----------------------
 `dokurpc.Client.doku' does not contain a definition for
`rpcCompleteUrl' and no extension method `rpcCompleteUrl' of type
`dokurpc.Client.doku' could be found (are you missing a using
directive or an assembly reference?
-----------------------

I guess defining a class inside another class might not be a god
practice, but I need to pass the url as a parameter.

Any suggestions or tips?


More information about the Mono-list mailing list