Castle.MonoRail.Framework.Services.DefaultControllerDescriptorProvider.CollectSkipFilter C# (CSharp) Method

CollectSkipFilter() private method

Collects the skip filter.
private CollectSkipFilter ( ActionMetaDescriptor actionDescriptor, MethodInfo method ) : void
actionDescriptor Castle.MonoRail.Framework.Internal.ActionMetaDescriptor The action descriptor.
method System.Reflection.MethodInfo The method.
return void
		private void CollectSkipFilter(ActionMetaDescriptor actionDescriptor, MethodInfo method)
		{
			object[] attributes = method.GetCustomAttributes(typeof(SkipFilterAttribute), true);
			
			foreach(SkipFilterAttribute attr in attributes)
			{
				actionDescriptor.SkipFilters.Add(attr);
			}
		}