M
Mat Andrews
Hi,
I'm comfused with this peice of code which I'm looking at. I can't figure
out how it works (and it does appear too);
ApplicationData appData = new ApplicationData();
ProductInfo.GetListOfCurrentLoanProducts("5" , "200",
ProductFactory);
ApplicationDataInfo.GetListOfCurrentItems(DateTime.Now , itemType,
appData );
int val = appData.ItemHeaders[0].itemId ;
My question is how can appData be populated by the call to
GetListOfCurrentItems (which is appears to be upon return)? Surely, as it
is not passed by reference how can the values be used upon returning from
the call?
The call ApplicationDataInfo.GetListOfCurrentItems is a void function of a
sealed class referenced by the calling assembly. Within this function the
parameter appData is populated.
Can anyone shed any light as this is annoying me!
Cheers,
Mat
I'm comfused with this peice of code which I'm looking at. I can't figure
out how it works (and it does appear too);
ApplicationData appData = new ApplicationData();
ProductInfo.GetListOfCurrentLoanProducts("5" , "200",
ProductFactory);
ApplicationDataInfo.GetListOfCurrentItems(DateTime.Now , itemType,
appData );
int val = appData.ItemHeaders[0].itemId ;
My question is how can appData be populated by the call to
GetListOfCurrentItems (which is appears to be upon return)? Surely, as it
is not passed by reference how can the values be used upon returning from
the call?
The call ApplicationDataInfo.GetListOfCurrentItems is a void function of a
sealed class referenced by the calling assembly. Within this function the
parameter appData is populated.
Can anyone shed any light as this is annoying me!
Cheers,
Mat