The short answer is yes if I understand you correctly.   DA can work with 
dictionary<string, string>.  To make sure though, can you send me a test that 
demonstrates exactly what you want?

thanks,
  craig


On May 23, 2011, at 1:36 AM, Eduard-Cristian Stefan wrote:

> Hi,
> 
> Is there a way to use Castle DictionaryAdapter for retrieving a
> dictionary like this one: "App1: values1, App2: values2, App3:
> values3", where values are having properties like "Label" (string) and
> "EnvVar" (dictionary<string, string>) ?
> 
> I didn't find any clue in the documentation or on Google, the best I
> can do so far is retrieve a list of strings and parse the strings in
> the code, which is not quite fun.
> 
> Another way would be to use a JSON deserializer, but it seems that I
> can't deserialize an interface, like I can with Castle
> DictionaryAdapter. The solution could be to define both the settings
> interface and a class that implements it, but I would like to avoid
> it.
> 
> Have a nice day,
>  Eduard
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Castle Project Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/castle-project-users?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to