Refresh file on change from background
This commit is contained in:
10
src/SharpIDE.Photino/Services/RefreshOpenFileService.cs
Normal file
10
src/SharpIDE.Photino/Services/RefreshOpenFileService.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace SharpIDE.Photino.Services;
|
||||
|
||||
public class RefreshOpenFileService
|
||||
{
|
||||
public event Func<Task>? RefreshOpenFile;
|
||||
public void InvokeRefreshOpenFile()
|
||||
{
|
||||
RefreshOpenFile?.Invoke();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user