摘要: CAS is complicated enough to understand when all of the moving parts are written in managed code (and therefore have all the associated managed meta-information like grant sets, etc). However, once native code comes into play things can get even more confusing. Let's take a look at how CAS works when there's native code on the call stack. 阅读全文
posted @ 2008-05-22 10:54 winkingzhang 阅读(442) 评论(0) 推荐(0) 编辑
摘要: IEditableCollectionView is a new collection view that you can use to supports adding and removing new items, as well as editing items in a transactional way. It is implemented by ListCollectionView (the default view for ObservableCollection) and BindingListCollectionView (the default view for DataTable). I will go through an example to further describe it and summarize afterwards. 阅读全文
posted @ 2008-05-22 10:38 winkingzhang 阅读(1745) 评论(0) 推荐(0) 编辑
摘要: To provide users the ability to copy permalinks or store other useful information in the clipboard, there aren’t many options for web developers today. There’s no APIs inside JavaScript to access the clipboard. Here’s a solution that will at least enable this from your Silverlight 2 app for most of your users. 阅读全文
posted @ 2008-05-22 10:32 winkingzhang 阅读(482) 评论(0) 推荐(0) 编辑