• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DemoBytom / DemoEngine / 12846877841

18 Jan 2025 07:36PM UTC coverage: 12.293% (-0.05%) from 12.339%
12846877841

push

coveralls.net

DemoBytom
Saving and reading tests

238 of 1936 relevant lines covered (12.29%)

25530.19 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Demo.Engine.Core/RegistrationExtensions.cs
1
// Copyright © Michał Dembski and contributors.
2
// Distributed under MIT license. See LICENSE file in the root for more information.
3

4
using Demo.Engine.Core.Components.Keyboard.Internal;
5
using Demo.Engine.Core.Interfaces;
6
using Demo.Engine.Core.Interfaces.Components;
7
using Demo.Engine.Core.Interfaces.Platform;
8
using Demo.Engine.Core.Platform;
9
using Demo.Engine.Core.Services;
10
using Microsoft.Extensions.DependencyInjection;
11

12
namespace Demo.Engine.Core;
13

14
public static class RegistrationExtensions
15
{
16
    public static IServiceCollection AddEngineCore(
17
        this IServiceCollection services)
18
        => services
×
19
            .AddScoped<IMainLoopService, MainLoopService>()
×
20
            .AddSingleton<IKeyboardCache, KeyboardCache>()
×
21
            .AddTransient<IFpsTimer, FpsTimer>()
×
22
            .AddTransient<IContentFileProvider, ContentFileProvider>()
×
23
        ;
24
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc