Exemple #1
0
 public override bool AddToWhiteList(IAttributeCollection attributes, Whitelist whitelist)
 {
     return(PedestrianProfile.FactorAndSpeed(attributes, whitelist).SpeedFactor > 0);
 }
Exemple #2
0
        public override FactorAndSpeed FactorAndSpeed(IAttributeCollection attributes)
        {
            var whitelist = new List <string>();

            return(PedestrianProfile.FactorAndSpeed(attributes, new Whitelist()));
        }