{
XX_myContract contract;
{
public void processReport()
{
XX_myContract contract;
contract = this.parmDataContract() as XX_myContract ;
this.updateTmp(contract);
}
void updateTmp(XX_myContract _contract)
{
// use _contract here
}
class RDP
{
XX_myContract contract;
public void processReport()
{
contract = this.parmDataContract() as XX_myContract ;
this.updateTmp();
}
void updateTmp()
{
// use contract directly (assuming it's filled inside processReport) you can make some defensive coding
}
}
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 284,876 Super User
Ludwig Reinhard Microsoft Employee
Martin Dráb 225,425 Super User