I'm now looking into alternative ways to capture mock invocations and
I've hit a similar problem. One of the things I'm trying involves
intercepting mock object creation and inserting an extra
Castle.Core.Interceptor.IInterceptor into the __interceptors method.
But IInterceptor is internal in Rhino.Mocks.dll, so we go round again.
I can fix this with a custom build of Rhino.Mocks - with the attached
patch file - but I was wondering what the intention was behind
internalizing most of the Castle stuff. I understand that it's nicer
not to flood users' scopes with types they don't need, but it does
make certain goals (like mine!) impossible! Also, what's the
motivation behind the choice of exposed types available in 3.5RC2?
e.g. why did IInvocation become public between 3.4 and 3.5?
Alex
2008/9/30 Ayende Rahien <aye...@ayende.com>:
.