예제 #1
0
        public async Task Execute(IDispatcher dispatcher)
        {
            var projects = await _client.GetAll <VstsProjectViewModel>();

            dispatcher.Dispatch(new ReceiveProjectsAction
            {
                Projects = projects
            });
        }
예제 #2
0
        public async Task Execute(IDispatcher dispatcher)
        {
            var identities = await _client.GetAll <IdentityViewModel>();

            dispatcher.Dispatch(new ReceiveIdentitiesAction
            {
                Identities = identities
            });
        }
예제 #3
0
        public async Task Execute(IDispatcher dispatcher)
        {
            var profiles = await _client.GetAll <ProfileViewModel>();

            dispatcher.Dispatch(new ReceiveProfilesAction
            {
                Profiles = profiles
            });
        }
예제 #4
0
        public async Task Execute(IDispatcher dispatcher)
        {
            var reports = await _client.GetAll <ReportViewModel>();

            dispatcher.Dispatch(new ReceiveReportsAction
            {
                Reports = reports
            });
        }
예제 #5
0
        public async Task Execute(IDispatcher dispatcher)
        {
            var members = await _client.GetAll <TeamMemberViewModel>();

            dispatcher.Dispatch(new ReceiveMembersAction
            {
                Members = members
            });
        }
예제 #6
0
        public async Task Execute(IDispatcher dispatcher)
        {
            var repositories = await _client.GetAll <VstsRepositoryViewModel>();

            dispatcher.Dispatch(new ReceiveRepositoriesAction
            {
                Repositories = repositories
            });
        }
예제 #7
0
 public async Task Execute(IDispatcher dispatcher)
 {
     await Utils.ExecuteWithLoading(dispatcher, async() =>
     {
         var projects = await _client.GetAll <VstsProjectViewModel>();
         dispatcher.Dispatch(new ReceiveProjectsAction
         {
             Projects = projects
         });
     });
 }
예제 #8
0
 public async Task Execute(IDispatcher dispatcher)
 {
     await Utils.ExecuteWithLoading(dispatcher, async() =>
     {
         var reports = await _client.GetAll <ReportViewModel>();
         dispatcher.Dispatch(new ReceiveReportsAction
         {
             Reports = reports
         });
     });
 }
예제 #9
0
 public async Task Execute(IDispatcher dispatcher)
 {
     await Utils.ExecuteWithLoading(dispatcher, async() =>
     {
         var members = await _client.GetAll <TeamMemberViewModel>();
         dispatcher.Dispatch(new ReceiveMembersAction
         {
             Members = members
         });
     });
 }
예제 #10
0
        public async Task Execute(IDispatcher dispatcher)
        {
            await Utils.ExecuteWithLoading(dispatcher, async() =>
            {
                var identities = await _client.GetAll <IdentityViewModel>();

                dispatcher.Dispatch(new ReceiveIdentitiesAction
                {
                    Identities = identities
                });
            });
        }
예제 #11
0
        public async Task Execute(IDispatcher dispatcher)
        {
            await Utils.ExecuteWithLoading(dispatcher, async() =>
            {
                var organizations = await _client.GetAll <OrganizationViewModel>();

                dispatcher.Dispatch(new ReceiveOrganizationsAction
                {
                    Organizations = organizations
                });
            });
        }