Line data Source code
1 : #region Copyright
2 : // // -----------------------------------------------------------------------
3 : // // <copyright company="cdmdotnet Limited">
4 : // // Copyright cdmdotnet Limited. All rights reserved.
5 : // // </copyright>
6 : // // -----------------------------------------------------------------------
7 : #endregion
8 :
9 : using System;
10 : using cdmdotnet.Logging;
11 : using Cqrs.Domain.Factories;
12 : using Cqrs.Events;
13 :
14 : namespace Cqrs.Domain
15 : {
16 : [Obsolete("Use AggregateRepository")]
17 : public class Repository<TAuthenticationToken>
18 : : AggregateRepository<TAuthenticationToken>
19 : , IRepository<TAuthenticationToken>
20 0 : {
21 : protected IEventStore<TAuthenticationToken> EventStore { get; private set; }
22 :
23 : protected IEventPublisher<TAuthenticationToken> Publisher { get; private set; }
24 :
25 : protected IAggregateFactory AggregateFactory { get; private set; }
26 :
27 : protected ICorrelationIdHelper CorrelationIdHelper { get; private set; }
28 :
29 0 : public Repository(IAggregateFactory aggregateFactory, IEventStore<TAuthenticationToken> eventStore, IEventPublisher<TAuthenticationToken> publisher, ICorrelationIdHelper correlationIdHelper)
30 : : base(aggregateFactory, eventStore, publisher, correlationIdHelper)
31 : {
32 : }
33 : }
34 : }
|