示例#1
0
        public void Run()
        {
            var usersStream      = "categoria_Users";
            var budgetsStream    = "categoria_Budgets";
            var categoriesStream = "categoria_Category";

            _applicationUsers = new ApplicationUserProjection(_endpoint, _credentials, _adapter, usersStream);
            _users            = new UsersListProjection(_endpoint, _credentials, _adapter, usersStream);
            _budgets          = new BudgetsListProjection(_endpoint, _credentials, _adapter, budgetsStream);
            _categories       = new CategoriesProjection(_endpoint, _credentials, _adapter);
            //_categories = new CategoriesProjection(_endpoint, _credentials, _adapter);

            _applicationUsers.Start();
            _users.Start();
            _budgets.Start();
            _categories.Start();
        }
示例#2
0
        public void Run()
        {
            var usersStream = "categoria_Users";
            var budgetsStream = "categoria_Budgets";
            var categoriesStream = "categoria_Category";

            _applicationUsers = new ApplicationUserProjection(_endpoint, _credentials, _adapter, usersStream);
            _users = new UsersListProjection(_endpoint, _credentials, _adapter, usersStream);
            _budgets = new BudgetsListProjection(_endpoint, _credentials, _adapter, budgetsStream);
            _categories = new CategoriesProjection(_endpoint, _credentials, _adapter);
            //_categories = new CategoriesProjection(_endpoint, _credentials, _adapter);

            _applicationUsers.Start();
            _users.Start();
            _budgets.Start();
            _categories.Start();
        }