aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Updates
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-03 15:07:48 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-03 15:07:48 -0400
commit8fd3bf42173e02f3b05c0373072c97e19fb76b9a (patch)
tree0bbdb2ba3bbceca88955ceb012c7a07713b95102 /Emby.Server.Implementations/Updates
parenta2dd144d5ccc8a5092f49983df8a030f7df4f82b (diff)
change pcl's to .netstandard
Diffstat (limited to 'Emby.Server.Implementations/Updates')
-rw-r--r--Emby.Server.Implementations/Updates/InstallationManager.cs10
1 files changed, 7 insertions, 3 deletions
diff --git a/Emby.Server.Implementations/Updates/InstallationManager.cs b/Emby.Server.Implementations/Updates/InstallationManager.cs
index 943977a288..3c7a8242cb 100644
--- a/Emby.Server.Implementations/Updates/InstallationManager.cs
+++ b/Emby.Server.Implementations/Updates/InstallationManager.cs
@@ -40,7 +40,11 @@ namespace Emby.Server.Implementations.Updates
/// <summary>
/// The completed installations
/// </summary>
- public ConcurrentBag<InstallationInfo> CompletedInstallations { get; set; }
+ private ConcurrentBag<InstallationInfo> CompletedInstallationsInternal { get; set; }
+
+ public IEnumerable<InstallationInfo> CompletedInstallations {
+ get { return CompletedInstallationsInternal; }
+ }
#region PluginUninstalled Event
/// <summary>
@@ -125,7 +129,7 @@ namespace Emby.Server.Implementations.Updates
}
CurrentInstallations = new List<Tuple<InstallationInfo, CancellationTokenSource>>();
- CompletedInstallations = new ConcurrentBag<InstallationInfo>();
+ CompletedInstallationsInternal = new ConcurrentBag<InstallationInfo>();
_applicationHost = appHost;
_appPaths = appPaths;
@@ -503,7 +507,7 @@ namespace Emby.Server.Implementations.Updates
progress.Report(100);
- CompletedInstallations.Add(installationInfo);
+ CompletedInstallationsInternal.Add(installationInfo);
EventHelper.FireEventIfNotNull(PackageInstallationCompleted, this, installationEventArgs, _logger);
}