AcManager.Controls.Helpers.Toast.Show C# (CSharp) Метод

Show() публичный статический Метод

Show a toast.
public static Show ( string title, string message, [ icon, System.Action click = null ) : void
title string Ex.: “Something Happened”
message string Ex.: “This and that. Without dot in the end”
icon [ Uri to some icon
click System.Action Click action
Результат void
        public static void Show(string title, string message, [NotNull] Uri icon, Action click = null) {
            if (!_winToasterIsNotAvailable && !OptionFallbackMode) {
                try {
                    ToastWin8Helper.ShowToast(title, message, icon, click ?? _defaultAction);
                    return;
                } catch {
                    Logging.Warning("Win8 Toaster is not available");
                    _winToasterIsNotAvailable = true;
                }
            }

            ShowFallback(title, message, icon, click);
        }

Same methods

Toast::Show ( string title, string message, System.Action click = null ) : void