I have a question regarding the Subscribe method of the DataAdapter.

As it currently stands, we pass in a simple string for the item that we wish to subscribe to.

This is simple enough. In my case, I want to subscribe to contracts, so we pass in a contractId (ie, 1234).

The problem we have is that in our case, this contract will have multiple types of updates that not every user is interested in. For example, one user may want prices for this contract, while another may want bids.

Since Subscribe only takes in a simple string argument, how can we determine what type of subscription the user wants for this contractId?

My initial thought is that we have to pass the type information in through the itemName parameter, and parse it out.

For example:
public void Subscribe(string itemName)
         //itemName = "bids:1234" (type:contractId)
         var split = itemName.Split(':');
         var  type = split[0];
         var contractId = split[1]

         if (type == "bids")
         else if (type == "prices")
Is this the best way to do this? Or is there a better option?