public async Task LoadFileAsync(string path, bool isDirty) { fileContents = await filePersistence.LoadAsync(path); FileOpened?.Invoke(this, new FileOperationEventArgs(path, fileContents, isDirty)); }