Hi,
I'm not sure if I understand what you are trying to achieve. If what you want is to simply set the TransactionInfo from your orderDetailsViewModel, this is already being done in the code you provided before, since the property TransactionInfo from your orderCompositeViewModel will also set the same TransactionInfo for the orderDetailsViewModel, which comes through Dependency Injection in the OrderCompositeViewModel constructor. So if you want to pass tickerSymbol to your orderDetailsViewModel, you will just need to set the TransactionInfo using that tickerSymbol to your orderCompositeViewModel.
If you want to use TransactionInfo in a way that you can react and show details from an item, you could use a new TransactionType, since TransactionType is defined as:
If this doesn't help you or we misunderstood your scenario, it would be helpful if you could provide us more information about what you are trying to achieve.
Regards.
Federico Martinez
http://blogs.southworks.net/fmartinez
I'm not sure if I understand what you are trying to achieve. If what you want is to simply set the TransactionInfo from your orderDetailsViewModel, this is already being done in the code you provided before, since the property TransactionInfo from your orderCompositeViewModel will also set the same TransactionInfo for the orderDetailsViewModel, which comes through Dependency Injection in the OrderCompositeViewModel constructor. So if you want to pass tickerSymbol to your orderDetailsViewModel, you will just need to set the TransactionInfo using that tickerSymbol to your orderCompositeViewModel.
orderCompositeViewModel.TransactionInfo = new TransactionInfo(tickerSymbol, transactionType);
publicenum TransactionType { Buy, Sell }
Regards.
Federico Martinez
http://blogs.southworks.net/fmartinez