internal WorkProvidedArgs(WorkRequestArgs <T> originator, RequestedWork wu) { OriginatingFrom = originator; WorkUnit = wu; }
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}"); }