private void PowerpointToPdf_ConversionComplete(ConversionEventArgs e) { if (e.Success) { Invoke((Action <string>)ShowToast, $"{Share.LanguagePack.ConversionComplete}: {Path.GetFileName(e.SourceName)}"); } else { Invoke((Action <string>)ShowToast, $"{Share.LanguagePack.ConversionFailed}: {Path.GetFileName(e.SourceName)}"); } }
private static void OnConversionCompleted(ConversionEventArgs e) { ConversionComplete?.Invoke(e); }