candland

@candland rss self
October 16th 2008

IDictionary and the Brail View Engine

I spent a lot of time trying to figure out that the brail engine assumes IList on indexed properties. If you have a IDictionary you need to use the get_Item method like:

${notice.Params.get_Item("user").Value}

Not:

${notice.Params["user"].Value}
blog comments powered by Disqus