Class ErrorMessage.Dialog
- Namespace
- VpnHood.AppUi.Common
- Assembly
- VpnHood.AppUi.Common.dll
Represents a failure told in a dialog: the sentence, and the buttons it earned beside Close.
public sealed record ErrorMessage.Dialog : ErrorMessage, IEquatable<ErrorMessage>, IEquatable<ErrorMessage.Dialog>
- Inheritance
-
ErrorMessage.Dialog
- Implements
- Inherited Members
Constructors
Dialog(string, params IReadOnlyList<ErrorAction>)
Represents a failure told in a dialog: the sentence, and the buttons it earned beside Close.
public Dialog(string Text, params IReadOnlyList<ErrorAction> Actions)
Parameters
TextstringThe sentence.
ActionsIReadOnlyList<ErrorAction>The buttons beside Close.
Properties
Actions
The buttons beside Close.
public IReadOnlyList<ErrorAction> Actions { get; init; }
Property Value
Text
The sentence.
public string Text { get; init; }