Out of curiosity,
What's the best approach for having the 2nd or 3rd Processor in an Execution list terminate or not execute, based on the results of the first processor?
for example:
ProcessorList.Add((new ShipmentInventoryValidator(iItem)));
ProcessorList.Add((new ShipmentInventoryAccountAdjustment(iItem)));
ServiceResult result = this.Execute();
if(result.HasErrors) doSomething;
Now, I don't want the 2nd processor to execute in the list if the first processor (validator) failed? But I'm not sure how to accomplish this in a best practice manner within the framework...
Thanks.
Scott Klarenbach
PointyHat Software
www.pointyhat.ca
_______________________________________
To iterate is human; to recurse, divine