Rename PackageInstallationFailedLogger to have more consistent naming.

This commit is contained in:
Patrick Barron 2020-08-15 23:22:26 -04:00
parent a40064a146
commit dcf97efaf8
2 changed files with 4 additions and 4 deletions

View File

@ -13,17 +13,17 @@ namespace Jellyfin.Server.Implementations.Events.Consumers.Updates
/// <summary>
/// Creates an entry in the activity log when a package installation fails.
/// </summary>
public class PackageInstallationFailedLogger : IEventConsumer<InstallationFailedEventArgs>
public class PluginInstallationFailedLogger : IEventConsumer<InstallationFailedEventArgs>
{
private readonly ILocalizationManager _localizationManager;
private readonly IActivityManager _activityManager;
/// <summary>
/// Initializes a new instance of the <see cref="PackageInstallationFailedLogger"/> class.
/// Initializes a new instance of the <see cref="PluginInstallationFailedLogger"/> class.
/// </summary>
/// <param name="localizationManager">The localization manager.</param>
/// <param name="activityManager">The activity manager.</param>
public PackageInstallationFailedLogger(ILocalizationManager localizationManager, IActivityManager activityManager)
public PluginInstallationFailedLogger(ILocalizationManager localizationManager, IActivityManager activityManager)
{
_localizationManager = localizationManager;
_activityManager = activityManager;

View File

@ -43,7 +43,7 @@ namespace Jellyfin.Server.Implementations.Events
collection.AddScoped<IEventConsumer<PluginInstalledEventArgs>, PluginInstalledLogger>();
collection.AddScoped<IEventConsumer<PluginUninstalledEventArgs>, PluginUninstalledLogger>();
collection.AddScoped<IEventConsumer<PluginUpdatedEventArgs>, PluginUpdatedLogger>();
collection.AddScoped<IEventConsumer<InstallationFailedEventArgs>, PackageInstallationFailedLogger>();
collection.AddScoped<IEventConsumer<InstallationFailedEventArgs>, PluginInstallationFailedLogger>();
collection.AddScoped<IEventConsumer<UserCreatedEventArgs>, UserCreatedLogger>();
collection.AddScoped<IEventConsumer<UserDeletedEventArgs>, UserDeletedLogger>();