Skip to content
remogloor edited this page Mar 19, 2013 · 2 revisions

The extension will create a differnt type of proxy depending on the requested type. If you get or inject an interface then it will create an interface proxy. If the requested or injected type is a class then it will create a class proxy. In most situations you should try to use interface proxies because class proxies have some limitations:

  • Class Proxies need an empty constructor
  • All intercepted methods of class proxies must be virtual.
Clone this wiki locally