Doc improvements
This commit is contained in:
parent
983d38a43b
commit
126165080b
|
@ -50,12 +50,12 @@ namespace Emby.Server.Implementations.Updates
|
|||
/// <summary>
|
||||
/// The current installations.
|
||||
/// </summary>
|
||||
private List<(InstallationInfo info, CancellationTokenSource token)> _currentInstallations;
|
||||
private readonly List<(InstallationInfo info, CancellationTokenSource token)> _currentInstallations;
|
||||
|
||||
/// <summary>
|
||||
/// The completed installations.
|
||||
/// </summary>
|
||||
private ConcurrentBag<InstallationInfo> _completedInstallationsInternal;
|
||||
private readonly ConcurrentBag<InstallationInfo> _completedInstallationsInternal;
|
||||
|
||||
public InstallationManager(
|
||||
ILogger<InstallationManager> logger,
|
||||
|
@ -85,29 +85,28 @@ namespace Emby.Server.Implementations.Updates
|
|||
_zipClient = zipClient;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public event EventHandler<InstallationEventArgs> PackageInstalling;
|
||||
|
||||
/// <inheritdoc />
|
||||
public event EventHandler<InstallationEventArgs> PackageInstallationCompleted;
|
||||
|
||||
/// <inheritdoc />
|
||||
public event EventHandler<InstallationFailedEventArgs> PackageInstallationFailed;
|
||||
|
||||
/// <inheritdoc />
|
||||
public event EventHandler<InstallationEventArgs> PackageInstallationCancelled;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when a plugin is uninstalled.
|
||||
/// </summary>
|
||||
/// <inheritdoc />
|
||||
public event EventHandler<GenericEventArgs<IPlugin>> PluginUninstalled;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when a plugin plugin is updated.
|
||||
/// </summary>
|
||||
/// <inheritdoc />
|
||||
public event EventHandler<GenericEventArgs<(IPlugin, PackageVersionInfo)>> PluginUpdated;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when a plugin plugin is installed.
|
||||
/// </summary>
|
||||
/// <inheritdoc />
|
||||
public event EventHandler<GenericEventArgs<PackageVersionInfo>> PluginInstalled;
|
||||
|
||||
/// <inheritdoc />
|
||||
public IEnumerable<InstallationInfo> CompletedInstallations => _completedInstallationsInternal;
|
||||
|
||||
/// <inheritdoc />
|
||||
|
|
|
@ -13,27 +13,30 @@ namespace MediaBrowser.Common.Updates
|
|||
public interface IInstallationManager : IDisposable
|
||||
{
|
||||
event EventHandler<InstallationEventArgs> PackageInstalling;
|
||||
|
||||
event EventHandler<InstallationEventArgs> PackageInstallationCompleted;
|
||||
|
||||
event EventHandler<InstallationFailedEventArgs> PackageInstallationFailed;
|
||||
|
||||
event EventHandler<InstallationEventArgs> PackageInstallationCancelled;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when [plugin uninstalled].
|
||||
/// Occurs when a plugin is uninstalled.
|
||||
/// </summary>
|
||||
event EventHandler<GenericEventArgs<IPlugin>> PluginUninstalled;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when [plugin updated].
|
||||
/// Occurs when a plugin is updated.
|
||||
/// </summary>
|
||||
event EventHandler<GenericEventArgs<(IPlugin, PackageVersionInfo)>> PluginUpdated;
|
||||
|
||||
/// <summary>
|
||||
/// Occurs when [plugin updated].
|
||||
/// Occurs when a plugin is installed.
|
||||
/// </summary>
|
||||
event EventHandler<GenericEventArgs<PackageVersionInfo>> PluginInstalled;
|
||||
|
||||
/// <summary>
|
||||
/// The completed installations
|
||||
/// Gets the completed installations
|
||||
/// </summary>
|
||||
IEnumerable<InstallationInfo> CompletedInstallations { get; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user