Skip to content

Commit

Permalink
Added the game scope comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed Oct 31, 2024
1 parent 63b5dd9 commit 6325128
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@

namespace NexusMods.Games.MountAndBlade2Bannerlord.LauncherManager;

/// <summary>
/// The LauncherManager holds a state per game instance.
///
/// (Aragas)
/// This could be replaced by introducing a game instance DI scope.
/// In that case the LauncherManager could be a scoped service and this factory would not be needed.
/// </summary>
public sealed class LauncherManagerFactory
{
private readonly IServiceProvider _serviceProvider;
Expand Down

0 comments on commit 6325128

Please sign in to comment.