private bool GenerateMessageGrossTimed() { bool quitLifeCycle; try { WorkerStatistics.PunchInGross(); quitLifeCycle = GenerateMessageSafe(); } finally { WorkerStatistics.PunchOutGross(); } return(quitLifeCycle); }
private bool ProcessMessageGrossTimed() { bool quitLifeCycle; try { WorkerStatistics.PunchInGross(); quitLifeCycle = this.ProcessMessageTrans(); } finally { WorkerStatistics.PunchOutGross(); } return(quitLifeCycle); }