aboutsummaryrefslogtreecommitdiff
path: root/Emby.IsoMounting/IsoMounter/LinuxMount.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.IsoMounting/IsoMounter/LinuxMount.cs')
-rw-r--r--Emby.IsoMounting/IsoMounter/LinuxMount.cs58
1 files changed, 0 insertions, 58 deletions
diff --git a/Emby.IsoMounting/IsoMounter/LinuxMount.cs b/Emby.IsoMounting/IsoMounter/LinuxMount.cs
deleted file mode 100644
index ccad8ce20..000000000
--- a/Emby.IsoMounting/IsoMounter/LinuxMount.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-using System;
-using MediaBrowser.Model.IO;
-
-namespace IsoMounter
-{
- /// <summary>
- /// Class LinuxMount.
- /// </summary>
- internal class LinuxMount : IIsoMount
- {
- private readonly LinuxIsoManager _linuxIsoManager;
-
- private bool _disposed = false;
-
- /// <summary>
- /// Initializes a new instance of the <see cref="LinuxMount" /> class.
- /// </summary>
- /// <param name="isoManager">The ISO manager that mounted this ISO file.</param>
- /// <param name="isoPath">The path to the ISO file.</param>
- /// <param name="mountFolder">The folder the ISO is mounted in.</param>
- internal LinuxMount(LinuxIsoManager isoManager, string isoPath, string mountFolder)
- {
- _linuxIsoManager = isoManager;
-
- IsoPath = isoPath;
- MountedPath = mountFolder;
- }
-
- /// <inheritdoc />
- public string IsoPath { get; }
-
- /// <inheritdoc />
- public string MountedPath { get; }
-
- /// <inheritdoc />
- public void Dispose()
- {
- Dispose(true);
- GC.SuppressFinalize(this);
- }
-
- /// <summary>
- /// Releases the unmanaged resources and disposes of the managed resources used.
- /// </summary>
- /// <param name="disposing">Whether or not the managed resources should be disposed.</param>
- protected virtual void Dispose(bool disposing)
- {
- if (_disposed)
- {
- return;
- }
-
- _linuxIsoManager.OnUnmount(this);
-
- _disposed = true;
- }
- }
-}