Beispiel #1
0
 public ProjectionManager(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter) 
 {
     _adapter = adapter;
     _endpoint = endpoint;
     _credentials = credentials;
     _budgetLines = new Dictionary<string, BudgetLinesProjection>();
     _budget = new Dictionary<string, BudgetProjection>();
 }
Beispiel #2
0
 public ProjectionManager(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter)
 {
     _adapter     = adapter;
     _endpoint    = endpoint;
     _credentials = credentials;
     _budgetLines = new Dictionary <string, BudgetLinesProjection>();
     _budget      = new Dictionary <string, BudgetProjection>();
 }
Beispiel #3
0
        public BudgetProjection(Budget budget, IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string stream)
            : base(endpoint, credentials, adapter, stream)
        {
            _budget = budget;

            _checkPoints = new Dictionary<string, CheckPoint>();
            _lines = new List<BudgetLine>();
        }
Beispiel #4
0
        public EventStore(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter)
        {
            _endpoint = endpoint;
            _credentials = credentials;
            _adapter = adapter;

            _con = EventStoreConnection.Create(endpoint);
            _con.Connect();
        }
Beispiel #5
0
        public EventStore(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter)
        {
            _endpoint    = endpoint;
            _credentials = credentials;
            _adapter     = adapter;

            _con = EventStoreConnection.Create(endpoint);
            _con.Connect();
        }
 public BudgetsListProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string streamName)
     : base(endpoint, credentials, adapter, streamName)
 {
 }
 public DistributionKeysProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string streamName)
     : base(endpoint, credentials, adapter, streamName)
 {
 }
 public ApplicationUserProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string streamName)
     : base(endpoint, credentials, adapter, streamName)
 {
     _users = new Dictionary<string, ApplicationUser>();
 }
Beispiel #9
0
 public MyDiagProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string budgetId, string streamName)
     : base(endpoint, credentials, adapter, streamName)
 {
     _budgetId = budgetId;
 }
Beispiel #10
0
 public GetEventStoreRepositoryAdapter(IEventStoreConnection eventStoreConnection, IPEndPoint eventStoreTcpEndpoint, IAdaptEvents adapter)
 {
     _eventStoreConnection = eventStoreConnection;
     _tcpEndpoint          = eventStoreTcpEndpoint;
     _adapter = adapter;
 }
Beispiel #11
0
        public BudgetProjection(Budget budget, IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string stream)
            : base(endpoint, credentials, adapter, stream)
        {
            _budget = budget;

            _checkPoints = new Dictionary <string, CheckPoint>();
            _lines       = new List <BudgetLine>();
        }
Beispiel #12
0
 public InMemoryProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string streamName)
     : this(endpoint, credentials, adapter)
 {
     _streamName = streamName;
 }
 public BudgetLinesProjection(string budget, IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string stream)
     : base(endpoint, credentials, adapter, stream)
 {
     _budget = budget;
 }
Beispiel #14
0
 public InMemoryProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string streamName)
     : this(endpoint, credentials, adapter)
 {
     _streamName = streamName;
 }
Beispiel #15
0
 public InMemoryProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter)
 {
     _endpoint    = endpoint;
     _credentials = credentials;
     _adapter     = adapter;
 }
Beispiel #16
0
 public ApplicationUserProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string streamName)
     : base(endpoint, credentials, adapter, streamName)
 {
     _users = new Dictionary <string, ApplicationUser>();
 }
Beispiel #17
0
 public MyDiagProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string budgetId, string streamName)
     : base(endpoint, credentials, adapter, streamName)
 {
     _budgetId = budgetId;
 }
 public BudgetsListProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string streamName)
     : base(endpoint, credentials, adapter, streamName)
 {
 }
 public CategoriesProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter)
     : base(endpoint, credentials, adapter)
 {
 }
 public DistributionKeysProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string streamName)
     : base(endpoint, credentials, adapter, streamName)
 {
 }
 public CategoriesProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter)
     : base(endpoint, credentials, adapter)
 {
 }
Beispiel #22
0
 public InMemoryProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter)
 {
     _endpoint = endpoint;
     _credentials = credentials;
     _adapter = adapter;
 }