It seems that Mono on iOS does not support JIT compilation, which seems to be used by at least StructureMap, Ninject, and Simple Injector. It can be turned off with reflection replacing it in Ninject but that doesn’t seem to be the case with its extensions, at least the interception one anyway. Are there any out there that do not use JIT compilation but have interception?
Share
You can with Griffin.Container. But the default interception package uses castle proxy. So you have to add the feature by yourself.
The interception features is implemented using decorators.
Implement the IInstanceDecorator class and add your implementation using
container.AddDecorator().