Catel.Services.PleaseWaitService.UpdateStatus C# (CSharp) Метод

UpdateStatus() публичный Метод

Updates the status and shows a progress bar with the specified status text. The percentage will be automatically calculated. The busy indicator will automatically hide when the totalItems is larger than currentItem. When providing the statusFormat, it is possible to use {0} (represents current item) and {1} (represents total items).
The is smaller than zero. The is null.
public UpdateStatus ( int currentItem, int totalItems, string statusFormat = "" ) : void
currentItem int The current item.
totalItems int The total items.
statusFormat string The status format. Can be empty, but not null.
Результат void
        public void UpdateStatus(int currentItem, int totalItems, string statusFormat = "")
        {
            InitializeBusyIndicator();

            if (currentItem > totalItems)
            {
                Hide();
                return;
            }

            UpdateStatus(string.Format(statusFormat, currentItem, totalItems));

            ShowBusyIndicator(false);
        }

Same methods

PleaseWaitService::UpdateStatus ( string status ) : void