[Mono-list] question about declarative programming

Robert Jordan robertj at gmx.net
Sat Jan 31 15:51:12 EST 2009


Pedro wrote:
> 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.

Attributes can only accept const/static data because they become
part of the metadata of the assembly.

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

Here's the solution:

http://www.xml-rpc.net/faq/xmlrpcnetfaq.html#2.3

Robert



More information about the Mono-list mailing list