AspectSharp.Core.Dispatcher.DefaultInvocationDispatcher.ObtainAdvices C# (CSharp) Method

ObtainAdvices() protected method

protected ObtainAdvices ( PointCutDefinition pointcuts ) : IMethodInterceptor[]
pointcuts AspectSharp.Lang.AST.PointCutDefinition
return IMethodInterceptor[]
		protected IMethodInterceptor[] ObtainAdvices(PointCutDefinition[] pointcuts)
		{
			ArrayList advices = new ArrayList();

			foreach (PointCutDefinition pointcut in pointcuts)
			{
				advices.AddRange(CreateInterceptor(pointcut.Advices));
			}

			return (IMethodInterceptor[]) advices.ToArray(typeof (IMethodInterceptor));
		}