Example #1
0
 protected override void ProcessInput(MultiThreadEventArgs <int, decimal> e)
 {
     /* Your business logic goes here...
      *
      * Use e.Input to retrieve the input
      * e.Result to store the output
      * e.Index to get the relative index (use AbsoluteIndex(e.Index) to get the absolute index)
      *
      * */
     //Thread.Sleep(1000);
     e.Result = e.Input + 1;
 }
Example #2
0
 protected override void ProcessInput(MultiThreadEventArgs <int, int> e)
 {
     e.Result = e.Input * 10;
 }