Patcher.UI.Windows.MainWindow.IDisplay C# (CSharp) Method

IDisplay() private method

private IDisplay ( string message, Choice choices ) : Choice
message string
choices Choice
return Choice
        Choice IDisplay.OfferChoice(string message, Choice[] choices)
        {
            Dispatcher.Invoke(DispatcherPriority.Background, new Action(() =>
            {
                CreateChoiceButtons(choices);
                PromptLabel.Content = message;
                PromptControl.Visibility = Visibility.Visible;
            }));

            offeredChoices = choices;

            // Wait until an option is chosen
            waitForChoice.Reset();
            waitForChoice.WaitOne();

            return selectedChoice;
        }

Same methods

MainWindow::IDisplay ( ) : void
MainWindow::IDisplay ( System.Progress progess ) : void
MainWindow::IDisplay ( string text ) : void
MainWindow::IDisplay ( string title, string text ) : void