Castle.Facilities.WcfIntegration.Proxy.WcfInterceptorSelector.SelectUserInterceptors C# (CSharp) Method

SelectUserInterceptors() private method

private SelectUserInterceptors ( MethodInfo method, List userInterceptors, Type type ) : IInterceptor[]
method MethodInfo
userInterceptors List
type Type
return IInterceptor[]
		private IInterceptor[] SelectUserInterceptors(MethodInfo method, List<IInterceptor> userInterceptors, Type type)
		{
			var selectedInterceptors = userInterceptors.ToArray();

			if (userProvidedSelector != null)
				selectedInterceptors = userProvidedSelector.SelectInterceptors(type, method, selectedInterceptors);

			return selectedInterceptors;
		}