Esempio n. 1
0
                void IProgressListener.SetProgress(Promise sender, UnsignedFixed32 progress)
                {
                    uint dif = progress.ToUInt32() - _currentProgress.ToUInt32();

                    _currentProgress = progress;
                    Target.IncrementProgress(dif, progress, Owner._waitDepthAndProgress);
                }
 void IProgressListener.SetInitialAmount(UnsignedFixed32 amount)
 {
     Target.IncrementProgress(amount.ToUInt32(), amount, Owner._waitDepthAndProgress);
 }
Esempio n. 3
0
 void IProgressListener.SetInitialProgress(UnsignedFixed32 progress)
 {
     _currentProgress = progress;
     Target.IncrementProgress(progress.ToUInt32(), progress, Owner._waitDepthAndProgress);
 }