Browse by Tags

Related Posts

  • TypeMock: How to Make Reflective Mocks More Natural

    Like I said before , this as been on the back of my mind for a while. A while back I introduced a way to get the MethodInfo of a method in a strongly typed way using LINQ , and that's how I'm going to make Reflective Mocks more Natural . Well, it's as easy as this: public static class MockExtender {...
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 01-31-2008, 12:00 AM
    Filed under: TypeMock, LINQ, MSDN, .NET, C#, Microsoft, MVP, SoftDev, Testing, Tools, UnitTests
  • C# And Visual Basic Generate Different Expression Trees

    (This was pointed out to me by Frans Bouma and explained by Jon Skeet ) Imagine you have this set of classes: public class A { public virtual string P { get { return "A" ; } } } public class B : A { } public class C : B { public override string P { get { return "C" ; } } } And this class: public static...
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 08-04-2008, 12:00 AM
    Filed under: SoftDev, MSDN, Microsoft, .NET, C#, LINQ, VisualBasic
  • More On Another Way For Using The “using” Keyword

    In the past I presented another possible use for the using keyword: as hints on LINQ . I’ve been giving some thought about this lately and refined my proposal. var q = from person in personCollection using MyEnumerableExtensions group person by person.LastName into g using new MyOtherComparer () orderby...
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 08-11-2008, 12:00 AM
    Filed under: SoftDev, MSDN, Microsoft, .NET, C#, LINQ
  • Build Your Own LINQ Provider

    Mehfuz has been building a toolkit for creating LINQ providers and it's available at CodePlex : LINQExtender He has even built a LINQ provider for flickr with it: LINQ.Flickr
    Posted to Paulo Morgado (Weblog) by Paulo Morgado on 05-07-2008, 12:00 AM
    Filed under: SoftDev, MSDN, Microsoft, Architecture, .NET, LINQ
Page 1 of 1 (4 items)
Microsoft Communities