C# - Check which event changed / accessed a Property
        Posted  
        
            by 
                binil
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by binil
        
        
        
        Published on 2011-01-07T11:51:40Z
        Indexed on 
            2011/01/07
            11:53 UTC
        
        
        Read the original article
        Hit count: 225
        
c#
|properties
I have a class with property say
    private string fieldSelectedItem;
    public string FieldSelectedItem
    {
        get
        {
            return fieldSelectedItem;
        }
        set
        {
            fieldSelectedItem = value;
        }
    }
it is accessed from many place.
I came across a situation that the a property in class is accessed by some event. and also some event is changing the value. i tried debugging. is it possible to check which event/function has changed/accessed the property. is there any method to do so.
© Stack Overflow or respective owner