Beispiel #1
0
        private IEnumerable <object> ActionFiltersOf(FilterAttribute attribute)
        {
            var filterType = typeof(IActionFilter <>).MakeGenericType(attribute.GetType());

            return(_serviceProvider.Invoke(filterType));
        }