Exemplo n.º 1
0
 public TaskRunner(ITaskService taskService,
                   ILoadingService loadingService)
 {
     _loadingService    = loadingService;
     _taskService       = taskService;
     _percentCalculator = new PercentCalculator();
 }
Exemplo n.º 2
0
    public void AddOneTest()
    {
        PercentCalculator pc = new PercentCalculator(100);

        for (int i = 0; i < 100; i++)
        {
            //pc.AddOne();
        }
    }
Exemplo n.º 3
0
    public void PercentFor2Test()
    {
        PercentCalculator pc = new PercentCalculator(1000);

        var i  = pc.PercentFor(10, false);
        var i2 = pc.PercentFor(10, true);

        var abc = 0;
    }
Exemplo n.º 4
0
 private static void ProgressBar_OverallSongs(int obj)
 {
     pc = new PercentCalculator(obj);
     CL.WriteProgressBar(0);
 }