Contents tagged with Reflection

  • Reflecting over an Event

    Tags: .NET, C#, CodeSnippets, Reflection

    A coworker (Hey, Evgeny!) came to me with a puzzler today. He has an object that exposes an event, and he wants to know whether he's already subscribed to that event. Two things immediately came … more

  • Crossing the line - Reflection and Reality

    Tags: .NET, C#, Reflection

    When we're working Reflection, we tend to think in different terms than we do when we're actually calling methods. There's an extra level of abstraction in everything we do. Translating between these … more

  • From Accessors to Properties

    Tags: .NET, Reflection

    For various debugging processes, I find myself needing to find several bits of runtime information for my properties. This means I want to get the property's PropertyInfo object by Reflection when … more

  • System.Reflection.Omit

    Tags: .NET, Reflection

    In TechEd Israel 2006, I listened to Roy Osherove's excellent talk on the new reflection features in .NET 2.0 - a great assortment of topics on things ranging from DynamicMethods to the … more