Skip to content

Instantly share code, notes, and snippets.

@JoeM-RP
Last active Aug 15, 2018
Embed
What would you like to do?
using System;
using ReactiveUI;
namespace RxUIForms.Models
{
public class Interactions
{
public static readonly Interaction<Exception, ErrorRecoveryOption> Errors = new Interaction<Exception, ErrorRecoveryOption>();
public static readonly Interaction<AlertArgs, bool> Alerts = new Interaction<AlertArgs, bool>();
public static readonly Interaction<ActionSheetArgs, string> Actions = new Interaction<ActionSheetArgs, string>();
}
public enum AlertActionOptions
{
Ok,
Cancel
}
public enum ErrorRecoveryOption
{
Retry,
Abort
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment