C# listClearedOrders Definition

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Cotters07
    Junior Member
    • Apr 2014
    • 4

    #1

    C# listClearedOrders Definition

    HI

    I have almost ported support for API-NG to a C# DLL but have one query. The documentation for listClearedOrders defines

    Code:
    Set<EventTypeId> eventTypeIds, Set<EventId> eventIds, Set<MarketId> marketIds
    amoungst the required inputs but there are no definitions within the documentation for these types other than at the very end of the pages where the data type is specified.

    Can someone advise - do I need to define these types within my namespace manually? So the EventTypeId etc is defined within its own class as a string that can then be referenced within my code? I guess a similar example would be the definition of RunnerID. Or do I simply rework the input to something like

    Code:
    Set<string> eventTypeIds
    Many Thanks
  • betdynamics
    Junior Member
    • Sep 2010
    • 534

    #2
    The documentation says the EventTypeId is just an alias for a string so I think you are fine to just use
    Code:
    Set<string> eventTypeIds

    Comment

    • Cotters07
      Junior Member
      • Apr 2014
      • 4

      #3
      Many Thanks betdynamics, I will give it a go

      Comment

      Working...
      X