示例#1
0
 internal WorkProvidedArgs(WorkRequestArgs <T> originator, RequestedWork wu)
 {
     OriginatingFrom = originator;
     WorkUnit        = wu;
 }
示例#2
0
 private static void ShowWorkUnitDispatched(WorkRequestArgs <IPEndPoint> ev, RequestedWork workUnit)
 {
     Console.WriteLine($"Gave {ev.originator.Address}:{ev.originator.Port} work unit {workUnit.wid}, scanning from {workUnit.nonceBase}, {ev.scanCount}");
 }