I have a list of items and two mutually exclusive ways in which they can be processed-(ex writing to screen vs writing to file). The deciding factor is a property on each item.
I want the list to be processed and output a list of which what got processed using what method.
I have chosen to use the "Chain of Resp" pattern. I am wondering if this is a good choice
Dim proc1 As New Process1
Dim proc2 as New Process2
For each itm in itmlst
--result is an object that resturns the list of items processed by that process.
Dim result1= proc1.EndPRocess()
Dim result2= proc2.EndProcess()