Skip to content

Commit

Permalink
Remove extensions and add only typed version
Browse files Browse the repository at this point in the history
  • Loading branch information
glucaci committed Oct 2, 2023
1 parent 7b61d0b commit 4f9e014
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/Session.Abstractions/ISessionProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace MongoDB.Extensions.Session;

public interface ISessionProvider<TScope>
public interface ISessionProvider<TContext>
{
Task<ITransactionSession> BeginTransactionAsync(
CancellationToken cancellationToken);
Expand Down
2 changes: 1 addition & 1 deletion src/Session/Internal/MongoSessionProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace MongoDB.Extensions.Session;

public class MongoSessionProvider<TContext, TScope> : ISessionProvider<TScope>
public abstract class MongoSessionProvider<TContext> : ISessionProvider<TContext>
where TContext : IMongoDbContext
{
private readonly IMongoClient _mongoClient;
Expand Down
18 changes: 0 additions & 18 deletions src/Session/ServiceCollectionExtensions.cs

This file was deleted.

0 comments on commit 4f9e014

Please sign in to comment.