Castle.MonoRail.Framework.ControllerLifecycleExecutor.FindOutDefaultMethod C# (CSharp) Method

FindOutDefaultMethod() private method

The following lines were added to handle _default processing if present look for and load _default action method DefaultActionAttribute Method arguments
private FindOutDefaultMethod ( IDictionary methodArgs ) : MethodInfo
methodArgs IDictionary
return System.Reflection.MethodInfo
		private MethodInfo FindOutDefaultMethod(IDictionary methodArgs)
		{
			if (metaDescriptor.DefaultAction != null)
			{
				return controller.SelectMethod(
					metaDescriptor.DefaultAction.DefaultAction,
					metaDescriptor.Actions, context.Request, methodArgs);
			}

			return null;
		}
	}