Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It is not possible to enumerate the types in the Repository #1

Open
GaryHughes opened this issue Jun 23, 2019 · 0 comments
Open

It is not possible to enumerate the types in the Repository #1

GaryHughes opened this issue Jun 23, 2019 · 0 comments
Assignees

Comments

@GaryHughes
Copy link
Owner

At the moment you need to know the names of the fields and messages etc or rely on reflection/intellisense. It should be possible to enumerate them, something like the following.

repo.FIX_4_0.Fields |> Seq.iter(fun field -> printfn(field.Name))
repo.FIX_4_0.Messages |> Seq.iter(fun field -> printfn(message.Name))
repo.FIX_4_0.Messages.ExecutionReport.Fields |> Seq.iter(fun field -> printfn(field.Name))

@GaryHughes GaryHughes self-assigned this Jun 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant