private async Task SaveInnerAsync() { SavingFile?.Invoke(this, new EventArgs()); await JsonFile.SaveAsync(Filename, Document, UpdateSerializerSettingsOnSave); Controls.IsDirty = false; FileSaved?.Invoke(this, new EventArgs()); }
/// <summary> /// The OnSavingFile /// </summary> /// <param name="e">The e<see cref="SavingFileEventArgs"/></param> protected virtual void OnSavingFile(SavingFileEventArgs e) { SavingFile?.Invoke(this, e); }