public static BasicUserInteraction Information(string title, string message, Action <IUserInteraction> confirmationCallback) { return(new BasicUserInteraction( title, message, new IInteractionOption <IUserInteraction>[] { BasicInteractionOption.Ok(confirmationCallback), })); }
public static BasicUserInteraction Confirmation(string title, string message, Action <IUserInteraction> yesCallback, Action <IUserInteraction> noCallback) { return(new BasicUserInteraction( title, message, new IInteractionOption <IUserInteraction>[] { BasicInteractionOption.Yes(yesCallback), BasicInteractionOption.No(noCallback) })); }