public override bool AddToWhiteList(IAttributeCollection attributes, Whitelist whitelist) { return(CarProfile.FactorAndSpeed(attributes, whitelist).SpeedFactor > 0); }
public override FactorAndSpeed FactorAndSpeed(IAttributeCollection attributes) { return(CarProfile.FactorAndSpeed(attributes, new Whitelist())); }