Rename PackageInstallationFailedLogger to have more consistent naming.

pull/3910/head
Patrick Barron 4 years ago
parent a40064a146
commit dcf97efaf8

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

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

Loading…
Cancel
Save