Esempio n. 1
0
        private ErrorDialogInfo(int hr, eErrorCondition condition, string title, string description)
            : base("res://ZuneShellResources!ErrorDialog.uix#ErrorDialogContentUI")
        {
            this._title      = title;
            this._hrOriginal = hr;
            this._condition  = condition;
            ErrorMapperResult descriptionAndUrl = ErrorMapperApi.GetMappedErrorDescriptionAndUrl(this._hrOriginal, this._condition);

            this._hr          = descriptionAndUrl.Hr;
            this._description = description ?? descriptionAndUrl.Description;
            this._webHelpUrl  = descriptionAndUrl.WebHelpUrl;
        }
Esempio n. 2
0
 internal static void Show(int hr, eErrorCondition condition, string title, string description) => new ErrorDialogInfo(hr, condition, title, description).Show();
Esempio n. 3
0
 internal static void Show(int hr, eErrorCondition condition, string title) => Show(hr, condition, title, null);