Hello people, nice forum and nice contents.
I am new to .net and hope to get some help in order to do this :
Saying we havec a ClassA within a method called DoWorkWhenPropertyGetterIsCalled.
A ClassB inherits form ClassA and define lets say two properties ProBA binded to a private mA field and PropB binded to a private mB field.
What's the best way (if exists) to ensure calling DoWorkWhenPropertyGetterIsCalled each time objCallB.PropX is called?
Another ClassC subclass of ClassA also may define ProPA to PropZ and I need the method to be called automatically each time a property getter is defined.
Well hope I was clear enough... Thank u all in advance for ur help
I am new to .net and hope to get some help in order to do this :
Saying we havec a ClassA within a method called DoWorkWhenPropertyGetterIsCalled.
A ClassB inherits form ClassA and define lets say two properties ProBA binded to a private mA field and PropB binded to a private mB field.
What's the best way (if exists) to ensure calling DoWorkWhenPropertyGetterIsCalled each time objCallB.PropX is called?
Another ClassC subclass of ClassA also may define ProPA to PropZ and I need the method to be called automatically each time a property getter is defined.
Well hope I was clear enough... Thank u all in advance for ur help