private void Downloader_CheckForTranslationVersionCompleted(object sender, CheckForTranslationVersionCompletedEventArgs e) { if (e.Error == null && !e.Cancelled && e.Result != null) { this.lastknownTranslationVersionresult = e.Result; } this.CheckForTranslationVersionCompleted?.Invoke(this, e); }
public CheckForTranslationVersionCompletedEventArgs(TranslationVersions _result) : this(null, false, _result) { }
public CheckForTranslationVersionCompletedEventArgs(Exception ex, bool cancel, TranslationVersions _result) : base() { this.Error = ex; this.Cancelled = cancel; this.Result = _result; }