public Dictionary <string, Type> Build()
{
var locator = new ControllerActionLocator(NamingConventions);
if (FindAssemblyFromType != null)
{
locator = locator.FindActionsFromAssemblyContaining(FindAssemblyFromType);
}
if (CurrentAssembly)
{
locator = locator.FindActionsFromAssembly(FindTheCallingAssembly());
}
foreach (var predicate in Predicates)
{
locator.Where(predicate);
}
return(locator.Build());
}