Switched to management branch to develop management module.

Initial commit dunno what has changed.
This commit is contained in:
Tanshu
2012-12-01 15:18:02 +05:30
parent 2d1030abf6
commit a984b1f527
19 changed files with 1868 additions and 328 deletions

View File

@ -1,14 +1,11 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Tanshu.Accounts.PointOfSale
{
public class BlockTimer : IDisposable
{
private string _description;
private long _start;
private readonly string _description;
private readonly long _start;
public BlockTimer(string description)
{
@ -18,7 +15,7 @@ namespace Tanshu.Accounts.PointOfSale
public void Dispose()
{
long totalTime = DateTime.Now.Ticks - _start;
var totalTime = DateTime.Now.Ticks - _start;
Console.WriteLine(_description);
Console.Write(" - Total Execution Time: ");
Console.Write(new TimeSpan(totalTime).TotalMilliseconds.ToString());