I have class that defines the following methods -
void DoAction1(out object result)
{
// The action is queued but not executed
}
void DoAction2(out object result)
{
// The action is queued but not executed
}
void ExecuteAllActions()
{
//Action 1 and Action 2 are executed in a batch.
}
What would be cleanest wato to update the out variables once the results are fetched from the ExecuteAllActions() method?
Aucun commentaire:
Enregistrer un commentaire