private IInterceptor CreateInterceptor(InterceptorAttribute interceptorAttribute) { if (String.IsNullOrEmpty(interceptorAttribute.InterceptorName)) { return Container.GetInstance(interceptorAttribute.InterceptorType) as IInterceptor; } return Container.GetInstance(interceptorAttribute.InterceptorType, interceptorAttribute.InterceptorName) as IInterceptor; }
private static int SortOrder(InterceptorAttribute a) { return a.Order; }