Skip to content

Commit 71f68d6

Browse files
committed
PAN-2027 Remove some old code
1 parent a751c0c commit 71f68d6

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/Learning.EventStore/Domain/Session.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,21 @@
33
using System.Collections.Generic;
44
using System.Linq;
55
using System.Threading.Tasks;
6-
using Learning.EventStore.Common;
7-
using Learning.EventStore.Common.Exceptions;
86
using Learning.EventStore.Domain.Exceptions;
9-
using Learning.EventStore.Logging;
10-
using RedLockNet;
117

128
namespace Learning.EventStore.Domain
139
{
1410
public class Session : ISession
1511
{
1612
private readonly IRepository _repository;
1713
private readonly ConcurrentDictionary<string, AggregateDescriptor> _trackedAggregates;
18-
private readonly ILog _logger;
19-
private readonly object _commitLock = new object();
2014

2115
public Session(IRepository repository)
2216
{
2317
_repository = repository;
2418
_trackedAggregates = new ConcurrentDictionary<string, AggregateDescriptor>();
25-
_logger = LogProvider.GetCurrentClassLogger();
2619
}
2720

28-
2921
public void Add<T>(T aggregate) where T : AggregateRoot
3022
{
3123
AddAsync(aggregate).GetAwaiter().GetResult();

0 commit comments

Comments
 (0)