title: Is there a way to call a method when any property of a class is set?
body: <p>So what I'm trying to do is call a single propertyWasSet() function when any property within a C# class is set (conversely, propertyWasGot() when it is get). I would also like to know which property's 'get' was invoked.</p>
  
  <p>I would like to maintain a dictonary of properties that are 'set', and check upon the 'get' action if they have been set yet (and throw an error if it hasn't been).</p>
  
  <p>I've be looking through msdn documentation for reflection, delegates, etc..., but I'm not entirely sure this is possible.</p>
  
  <p>Is there a way to do this? or fire an event upon calling one of these functions that can be intercepted in a base class or something?</p>