nickbabcock / Pdoxcl2Sharp

A Paradox Interactive general file parser
MIT License
39 stars 13 forks source link

Read Consecutive Elements of Objects #25

Closed nickbabcock closed 10 years ago

nickbabcock commented 10 years ago

Now that ReadList had its access modifier changed to public due to #23, the parser template should now be able to handle a [ConsecutiveElements] IList<T> where T is a class.

It should generate something like


case "foos": Foos = parser.ReadList(() => parser.Parse(new Foo())); break;