- Chat messages are now loaded based on scroll position - Read status is now updated and set by last message read - Reworked script importing by using ScriptProvider
15 lines
No EOL
412 B
C#
15 lines
No EOL
412 B
C#
using LANCommander.UI.Providers;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace LANCommander.UI.Extensions;
|
|
|
|
public static class IServiceCollectionExtensions
|
|
{
|
|
public static IServiceCollection AddLANCommanderUI(this IServiceCollection services)
|
|
{
|
|
services.AddSingleton<TimeProvider, LocalTimeProvider>();
|
|
services.AddScoped<ScriptProvider>();
|
|
|
|
return services;
|
|
}
|
|
} |