public RouteMethodAlteration <T> ForInputTypesAndMethods <T>(Func <ActionCall, bool> filter)
        {
            var alteration = new RouteMethodAlteration <T>(filter);

            _configuration.Add(alteration, ConfigurationType.Policy);

            return(alteration);
        }
Пример #2
0
        public RouteMethodAlteration <T> ForInputTypesAndMethods <T>(Func <ActionCall, bool> filter)
        {
            var alteration = new RouteMethodAlteration <T>(filter);

            _registry.Policies.Add(alteration);

            return(alteration);
        }