Пример #1
0
        //Method to get traffic violation types
        public static TrafficViolationTypes.TrafficViolationTypeEnum trafficViolationTypes()
        {
            TrafficViolationTypes trafficViolationTypes = new TrafficViolationTypes(trafficViolationTypesList.ToArray());

            return(trafficViolationTypes.GetEnumerator());
        }
Пример #2
0
        //Method to get most frecuent traffic violations
        public static TrafficViolationTypes.TrafficViolationTypeEnum topTrafficViolations()
        {
            TrafficViolationTypes topTrafficViolations = new TrafficViolationTypes(trafficViolationTypesList);

            return(topTrafficViolations.GetEnumerator());
        }