Пример #1
0
        public void Print(string html, string jobName)
        {
            _activityIndicatorPopup = ActivityIndicatorPopup.Create();
            var taskCompletionSource = new TaskCompletionSource <ToFileResult>();

            InnerPrint(taskCompletionSource, html, jobName);
        }
Пример #2
0
        public Task PrintAsync(string html, string jobName, FailAction failAction = FailAction.ShowAlert)
        {
            _activityIndicatorPopup = ActivityIndicatorPopup.Create();
            var taskCompletionSource = new TaskCompletionSource <ToFileResult>();

            InnerPrint(taskCompletionSource, html, jobName, failAction);
            return(taskCompletionSource.Task);
        }