Ability to define an interface
niemyjski opened this issue · comments
Blake Niemyjski commented
I was pondering the idea of having the generated class derive from an interface and then use member section to define the implementation details. Would it be possible to add support for this?
Then I could do something like MyParser: IParser { }
John Gietzen commented
Pegasus classes are declared as partial
which should allow you to extend the class definition. I would recommend adding the interface and implementing methods in a separate C# file..