Programmatically detecting property changes and method calls to an given object

  • Thread starter Thread starter Yasutaka Ito
  • Start date Start date
Y

Yasutaka Ito

Hi,

Given an object, I want to programmatically monitor it for any property
changes and method calls. The object can be anything (component, control,
etc.), and there is no guarantee that each property has <property
name>Changed event corresponding to it.

What are the best way for this?
I'm sorry, I don't know where to get started from...

If "any object" makes it too much abstract, I'd want to accomplish this
preferrably on those objects that are derived from
System.ComponentModel.Component.

Appreciate any kind of inputs.

thanks!
-Yasutaka
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top