BrunoJuchli / StaticProxy.Fody

Creating proxies at compile time.
16 stars 3 forks source link

Proxy class from external library #11

Closed innuendonh closed 7 years ago

innuendonh commented 7 years ago

Hello, would it be possible to proxy all property accesses performed on a specific variable (or better, class attribute)?

For Example, I would like to replace every read to myvariable.myproperty with, e.g., mygetter(myvariable.myproperty), where myvariable is a type defined in mscore, e.g., BindingSource.

(I'm trying to workaround some issues in legacy code)

Thank you!

BrunoJuchli commented 7 years ago

proxying external library types is not possible as this tool requires to be part of the build chain of the library it modifies to have proxies.