Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Allow proxying 3rd party assembly types #18

Open
BrunoJuchli opened this issue Jul 29, 2017 · 0 comments
Open

Allow proxying 3rd party assembly types #18

BrunoJuchli opened this issue Jul 29, 2017 · 0 comments

Comments

@BrunoJuchli
Copy link
Owner

BrunoJuchli commented Jul 29, 2017

Allow proxying 3rd party assembly types.

  • specify mechanism to define which types to proxy and how to retrieve these
  • maybe more along the lines of Castle DynamicProxy: Request the proxied type and
  • Interface proxy: auto-create implementation
  • Class-proxy: auto-create wrapping class, same public members etc, but implementation is forwarded to actual "real" instance of "real" class.

What are the downsides over the current approach? Currently a class-proxy means modifying the class to inserting method-decorating code and ctor-arguments, which is less than ideal as it makes it impossible to instantiate the class without proxying/interceptors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant