af1152b001
Refactored all C# test files to use explicit namespace declarations and moved all using directives inside the namespace block for consistency. Updated assembly info and cache files to reflect the new build. Adjusted MvcTestingAppManifest.json to use fully qualified assembly names. No functional changes; all updates are related to code style, organization, and project metadata.
23 lines
716 B
C#
23 lines
716 B
C#
// <copyright file="StartupLoggerExtensions.cs" company="PlaceholderCompany">
|
|
// Copyright (c) PlaceholderCompany. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace Jellyfin.Server.ServerSetupApp;
|
|
|
|
using System;
|
|
using System.Globalization;
|
|
using System.Linq;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using Microsoft.Extensions.Logging;
|
|
using Microsoft.Extensions.Logging.Abstractions;
|
|
|
|
internal static class StartupLoggerExtensions
|
|
{
|
|
public static IServiceCollection RegisterStartupLogger(this IServiceCollection services)
|
|
{
|
|
return services
|
|
.AddTransient<IStartupLogger, StartupLogger<Startup>>()
|
|
.AddTransient(typeof(IStartupLogger<>), typeof(StartupLogger<>));
|
|
}
|
|
}
|