public virtual IEnumerable <ActionMethod> GetActionMethods(ActionMethodSourceContext context)
 {
     return(_configuration.Assemblies
            .SelectMany(x => _typeCache.GetTypeDescriptors(x))
            .Where(x => _configuration.HandlerFilter(_configuration, x))
            .SelectMany(t => t.Methods
                        .Where(m => !m.MethodInfo.IsGenericMethodDefinition &&
                               !m.IsBclMethod && _configuration.ActionFilter(_configuration, m))
                        .Select(m => new ActionMethod(t, m))));
 }