protected virtual IMethodInterceptor ObtainInterceptorInstance(Type adviceType)
{
IMethodInterceptor interceptor = _type2AdviceInstance[adviceType] as IMethodInterceptor;
if (interceptor == null)
{
interceptor = Activator.CreateInstance(adviceType) as IMethodInterceptor;
InitializeInterceptor(interceptor);
_type2AdviceInstance[adviceType] = interceptor;
}
return interceptor;
}