diff --git a/FormsToolkit/FormsToolkit/Services/MessagingService.cs b/FormsToolkit/FormsToolkit/Services/MessagingService.cs index b7ead87..9bb0c31 100644 --- a/FormsToolkit/FormsToolkit/Services/MessagingService.cs +++ b/FormsToolkit/FormsToolkit/Services/MessagingService.cs @@ -82,11 +82,13 @@ public class MessagingServiceQuestion /// /// The title. public string Title {get;set;} + /// /// Gets or sets the question. /// /// The question. public string Question { get; set; } + /// /// Gets or sets the positive button text. /// @@ -98,6 +100,12 @@ public class MessagingServiceQuestion /// /// The negative. public string Negative { get; set; } + + /// + /// Gets or sets the OnCompleted Action<bool>. + /// + /// The OnCompleted Action<bool>. + public Action OnCompleted { get; set; } } /// @@ -110,6 +118,7 @@ public class MessagingServiceAlert /// /// The title. public string Title {get;set;} + /// /// Gets or sets the message. /// @@ -121,6 +130,12 @@ public class MessagingServiceAlert /// /// true if this instance cancel; otherwise, false. public string Cancel { get; set; } + + /// + /// Gets or sets the OnCompleted Action. + /// + /// The OnCompleted Action. + public Action OnCompleted { get; set; } } }