/// <inheritdoc cref="SaveWithoutFileDialogEventArgs"/> public async Task OnEventHandler(object publisher, SaveWithoutFileDialogEventArgs e) { try { if (!View.ImageIsDefault(ImageContainer.Source)) { var copy = await GetImageCopy( ImageContainer.Source ).ConfigureAwait(true); await Task.Run( () => copy.SaveByPath(View.GetPathToFile()) ).ConfigureAwait(true); } } catch (Exception ex) { OnError(publisher, Errors.SaveFile); } }
public virtual async Task OnEventHandler(object publisher, SaveWithoutFileDialogEventArgs e) { }