I'm having some trouble trying to use the FountainBlockElements exposed by the FountainDocument.
As C# dev with no F# experience attempting to use the API. I'm struggling to deference the weak types exposed in my Xamarin.Forms app.
I don't understand the exactly what the problem is but the types returned all derive from FountainBlockElement have item1, item2, etc.. instead of strongly typed members.
According to my research discriminated unions should not be exposed to C# as per the F# guidlines.
For more info
https://stackoverflow.com/questions/23843142/f-discriminated-union-usage-from-c-sharp
I will see if I can work out the solution and provide a PR if possible.
I'm having some trouble trying to use the FountainBlockElements exposed by the FountainDocument.
As C# dev with no F# experience attempting to use the API. I'm struggling to deference the weak types exposed in my Xamarin.Forms app.
I don't understand the exactly what the problem is but the types returned all derive from FountainBlockElement have item1, item2, etc.. instead of strongly typed members.
According to my research discriminated unions should not be exposed to C# as per the F# guidlines.
For more info
https://stackoverflow.com/questions/23843142/f-discriminated-union-usage-from-c-sharp
I will see if I can work out the solution and provide a PR if possible.