Apr
30

Brian Genisio has just released an early version of HTML Utilties for Silverlight on CodePlex.  The primary target for this library is someone who develops software in Silverlight and uses the HTML DOM libraries in Silverlight.

The library wraps all of the HtmlPage classes with wrappers that implement interfaces.  For instance, HtmlPage is wrapped around a proxy that implements IHtmlPage.  HtmlElement has a proxy wrapper that implements IHtmlElement.  By using this approach, you can substitute anything you want in the Html DOM when you test.  This may be any test object that implements the interfaces.  Some prefer to use Moq, but there are several other approaches to testing now that the system has interfaces to replace.

Download the HTML Utilties for Silverlight

Leave Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

Copyright © 2008-2009 Timm Martin. All rights reserved.
Wordpress Theme designed by DT Website Templates