Download data/DWSIM.Simulate365/Services/FileManagementService.cs from introvoyz041/Dwsim: direct link, hf CLI and curl.
- Browser
- Download file 944 Bytes
-
https://huggingface.co/datasets/introvoyz041/Dwsim/resolve/main/data/DWSIM.Simulate365/Services/FileManagementService.cs
- Command line
-
hf download hf://datasets/introvoyz041/Dwsim/data/DWSIM.Simulate365/Services/FileManagementService.cs
-
curl -L -o FileManagementService.cs https://huggingface.co/datasets/introvoyz041/Dwsim/resolve/main/data/DWSIM.Simulate365/Services/FileManagementService.cs
944 Bytes
| | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| namespace DWSIM.Simulate365.Services | |
| { | |
| public class FileManagementService | |
| { | |
| private static FileManagementService _singletonInstance; | |
| public event EventHandler OnSaveFileToDashboard; | |
| public event EventHandler OnFileSavedToDashboard; | |
| public static FileManagementService GetInstance() | |
| { | |
| if (_singletonInstance == null) | |
| _singletonInstance = new FileManagementService(); | |
| return _singletonInstance; | |
| } | |
| public void SaveFileToDashboard() | |
| { | |
| this.OnSaveFileToDashboard?.Invoke(this, EventArgs.Empty); | |
| } | |
| public void FileSavedToDashboard() | |
| { | |
| this.OnFileSavedToDashboard?.Invoke(this, EventArgs.Empty); | |
| } | |
| } | |
| } | |