Browse by Tags
All Tags »
CodePlex (
RSS)
Prism for the Windows Runtime and the associated AdventureWorks Shopper reference implementation is now available on the Windows Dev Center . You can read all about it on Blaine Wastell’s blog . Brian Noyes has also released a Pluralsight course: http...
Microsoft Patterns & Practices has released a book with guidance on Testing for Continuous Delivery with Visual Studio 2012 RC . The book and its content can be found both in the MSDN site and the CodePlex site . I’m deeply honored...
Sometime ago I wrote a predicate equality comparer to be used with LINQ ’s Distinct operator. The Distinct operator uses an instance of an internal Set class to maintain the collection of distinct elements in the source collection which in turn checks...
Following my last posts ( > )( > ), in this post I’ll introduce the implementation of the SkipLastWhile operator. The SkipLastWhile returns all but the last contiguous elements from a a sequence that satisfy the specified criteria and is implemented...
Following my last post , in this post I’ll introduce the implementation of the SkipLast operator. The SkipLast operator returns all but a specified number of contiguous elements from the end of a sequence and is implemented as the SkipLast extension method...
After having introduced the TakeLast operators ( > )( > )( > ), it makes sense to introduce their duals: the SkipLast operators. Name Description Example SkipLast<TSource>(IEnumerable<TSource>) Returns all but a specified number of...
Following my last posts ( > )( > ), in this post I’ll introduce the implementation of the TakeLastWhile operator. The TakeLastWhile operator returns last contiguous elements from a sequence that satisfy the specified criteria and is implemented...
Following my last post , in this post I’ll introduce the implementation of the TakeLast operator. The TakeLast operator returns a specified number of contiguous elements from the end of a sequence and is implemented as the TakeLast extension method :...
Some time ago I needed to retrieve the last items of a sequence that satisfied some criteria and, looking at the operators available in the Enumerable class, I noticed that there wasn’t such operator. The only way to achieve this was to reverse the sequence...
I’ve created a project on CodePlex to share my LINQ utilities and operators: PauloMorgado.Linq In this project you can find the code from my previous posts about the Distinct operator: LINQ: Enhancing Distinct With The PredicateEqualityComparer LINQ:...
More Posts
Next page »