Skip to content

Commit

Permalink
Merge pull request #1 from jsauvexamarin/master
Browse files Browse the repository at this point in the history
Added a PositiveAction Action to the MessagingServiceQuestion type.
  • Loading branch information
jamesmontemagno committed Jan 18, 2016
2 parents 1b2f158 + 446837a commit 89674ef
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions FormsToolkit/FormsToolkit/Services/MessagingService.cs
Expand Up @@ -82,11 +82,13 @@ public class MessagingServiceQuestion
/// </summary>
/// <value>The title.</value>
public string Title {get;set;}

/// <summary>
/// Gets or sets the question.
/// </summary>
/// <value>The question.</value>
public string Question { get; set; }

/// <summary>
/// Gets or sets the positive button text.
/// </summary>
Expand All @@ -98,6 +100,12 @@ public class MessagingServiceQuestion
/// </summary>
/// <value>The negative.</value>
public string Negative { get; set; }

/// <summary>
/// Gets or sets the OnCompleted Action&lt;bool&gt;.
/// </summary>
/// <value>The OnCompleted Action&lt;bool&gt;.</value>
public Action<bool> OnCompleted { get; set; }
}

/// <summary>
Expand All @@ -110,6 +118,7 @@ public class MessagingServiceAlert
/// </summary>
/// <value>The title.</value>
public string Title {get;set;}

/// <summary>
/// Gets or sets the message.
/// </summary>
Expand All @@ -121,6 +130,12 @@ public class MessagingServiceAlert
/// </summary>
/// <value><c>true</c> if this instance cancel; otherwise, <c>false</c>.</value>
public string Cancel { get; set; }

/// <summary>
/// Gets or sets the OnCompleted Action.
/// </summary>
/// <value>The OnCompleted Action.</value>
public Action OnCompleted { get; set; }
}
}

0 comments on commit 89674ef

Please sign in to comment.