コード例 #1
0
ファイル: Program.cs プロジェクト: Persephora/trafficGestions
        //Method to get traffic violation types
        public static TrafficViolationTypes.TrafficViolationTypeEnum trafficViolationTypes()
        {
            TrafficViolationTypes trafficViolationTypes = new TrafficViolationTypes(trafficViolationTypesList.ToArray());

            return(trafficViolationTypes.GetEnumerator());
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: Persephora/trafficGestions
        //Method to get most frecuent traffic violations
        public static TrafficViolationTypes.TrafficViolationTypeEnum topTrafficViolations()
        {
            TrafficViolationTypes topTrafficViolations = new TrafficViolationTypes(trafficViolationTypesList);

            return(topTrafficViolations.GetEnumerator());
        }