コード例 #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>();
 }
コード例 #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>();
 }
コード例 #3
0
ファイル: BudgetProjection.cs プロジェクト: valeriob/MyBudget
        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>();
        }
コード例 #4
0
ファイル: EventStore.cs プロジェクト: valeriob/MyBudget
        public EventStore(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter)
        {
            _endpoint = endpoint;
            _credentials = credentials;
            _adapter = adapter;

            _con = EventStoreConnection.Create(endpoint);
            _con.Connect();
        }
コード例 #5
0
ファイル: EventStore.cs プロジェクト: valeriob/MyBudget
        public EventStore(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter)
        {
            _endpoint    = endpoint;
            _credentials = credentials;
            _adapter     = adapter;

            _con = EventStoreConnection.Create(endpoint);
            _con.Connect();
        }
コード例 #6
0
 public BudgetsListProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string streamName)
     : base(endpoint, credentials, adapter, streamName)
 {
 }
コード例 #7
0
 public DistributionKeysProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string streamName)
     : base(endpoint, credentials, adapter, streamName)
 {
 }
コード例 #8
0
 public ApplicationUserProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string streamName)
     : base(endpoint, credentials, adapter, streamName)
 {
     _users = new Dictionary<string, ApplicationUser>();
 }
コード例 #9
0
ファイル: Program.cs プロジェクト: valeriob/MyBudget
 public MyDiagProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string budgetId, string streamName)
     : base(endpoint, credentials, adapter, streamName)
 {
     _budgetId = budgetId;
 }
コード例 #10
0
 public GetEventStoreRepositoryAdapter(IEventStoreConnection eventStoreConnection, IPEndPoint eventStoreTcpEndpoint, IAdaptEvents adapter)
 {
     _eventStoreConnection = eventStoreConnection;
     _tcpEndpoint          = eventStoreTcpEndpoint;
     _adapter = adapter;
 }
コード例 #11
0
ファイル: BudgetProjection.cs プロジェクト: valeriob/MyBudget
        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>();
        }
コード例 #12
0
 public InMemoryProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string streamName)
     : this(endpoint, credentials, adapter)
 {
     _streamName = streamName;
 }
コード例 #13
0
 public BudgetLinesProjection(string budget, IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string stream)
     : base(endpoint, credentials, adapter, stream)
 {
     _budget = budget;
 }
コード例 #14
0
 public InMemoryProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string streamName)
     : this(endpoint, credentials, adapter)
 {
     _streamName = streamName;
 }
コード例 #15
0
 public InMemoryProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter)
 {
     _endpoint    = endpoint;
     _credentials = credentials;
     _adapter     = adapter;
 }
コード例 #16
0
 public ApplicationUserProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string streamName)
     : base(endpoint, credentials, adapter, streamName)
 {
     _users = new Dictionary <string, ApplicationUser>();
 }
コード例 #17
0
ファイル: Program.cs プロジェクト: valeriob/MyBudget
 public MyDiagProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string budgetId, string streamName)
     : base(endpoint, credentials, adapter, streamName)
 {
     _budgetId = budgetId;
 }
コード例 #18
0
 public BudgetsListProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string streamName)
     : base(endpoint, credentials, adapter, streamName)
 {
 }
コード例 #19
0
 public CategoriesProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter)
     : base(endpoint, credentials, adapter)
 {
 }
コード例 #20
0
 public DistributionKeysProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter, string streamName)
     : base(endpoint, credentials, adapter, streamName)
 {
 }
コード例 #21
0
 public CategoriesProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter)
     : base(endpoint, credentials, adapter)
 {
 }
コード例 #22
0
 public InMemoryProjection(IPEndPoint endpoint, UserCredentials credentials, IAdaptEvents adapter)
 {
     _endpoint = endpoint;
     _credentials = credentials;
     _adapter = adapter;
 }