diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-02-28 13:47:05 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-02-28 13:47:05 -0500 |
| commit | 3d22c486700f63034f6735bc6cf3efb2ad18af22 (patch) | |
| tree | 9e4c9c4641cffffc018ff3d1ccc47f5714e04fc0 /MediaBrowser.Controller/Diagnostics/IProcessManager.cs | |
| parent | 291727f624b0ec4f0476d26f915a93c3410104c7 (diff) | |
added IProcessManager
Diffstat (limited to 'MediaBrowser.Controller/Diagnostics/IProcessManager.cs')
| -rw-r--r-- | MediaBrowser.Controller/Diagnostics/IProcessManager.cs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Diagnostics/IProcessManager.cs b/MediaBrowser.Controller/Diagnostics/IProcessManager.cs new file mode 100644 index 000000000..2e076bd88 --- /dev/null +++ b/MediaBrowser.Controller/Diagnostics/IProcessManager.cs @@ -0,0 +1,28 @@ +using System.Diagnostics; + +namespace MediaBrowser.Controller.Diagnostics +{ + /// <summary> + /// Interface IProcessManager + /// </summary> + public interface IProcessManager + { + /// <summary> + /// Gets a value indicating whether [supports suspension]. + /// </summary> + /// <value><c>true</c> if [supports suspension]; otherwise, <c>false</c>.</value> + bool SupportsSuspension { get; } + + /// <summary> + /// Suspends the process. + /// </summary> + /// <param name="process">The process.</param> + void SuspendProcess(Process process); + + /// <summary> + /// Resumes the process. + /// </summary> + /// <param name="process">The process.</param> + void ResumeProcess(Process process); + } +} |
