public void Evaluate() { var diff = (DateTime.Now - Created); if (diff > Threshold) { Monitor.AccessWaitEvent(Resource, diff); } }
public void Evaluate() { var diff = (DateTime.Now - Created); if (diff > Threshold) { Monitor.AccessWaitEvent(Resource, diff); } }