public OrganizationProfileContentViewModel( IInviteService inviteService, IValidationObjectFactory validationObjectFactory) { _inviteService = inviteService; AddTeamPopupViewModel = ViewModelLocator.Resolve <AddTeamPopupViewModel>(); AddTeamPopupViewModel.InitializeAsync(this); TeamMemberProviderViewModel = ViewModelLocator.Resolve <TeamMemberProviderViewModel>(); TeamMemberProviderViewModel.InitializeAsync(this); }
public MembersViewModel( ITeamMembersDataItems teamMembersDataItems, ITeamService teamService) { _teamMembersDataItems = teamMembersDataItems; _teamService = teamService; Filters = _teamMembersDataItems.BuildTeamMemberFilterItems(); TeamMemberProviderViewModel = ViewModelLocator.Resolve <TeamMemberProviderViewModel>(); TeamMemberProviderViewModel.InitializeAsync(this); TeamMemberProviderViewModel.TeamMembersUpdated += OnTeamMemberProviderViewModelTeamMembersUpdated; IsNestedPullToRefreshEnabled = true; }
public CoachProfileContentViewModel( IInviteService inviteService, ISportService sportService, ISportsFactory sportsFactory, ITeamMemberFactory teamMemberFactory, ITeamMemberService teamMemberService, IValidationObjectFactory validationObjectFactory, IStateService stateService) { _sportService = sportService; _sportsFactory = sportsFactory; _inviteService = inviteService; _teamMemberFactory = teamMemberFactory; _teamMemberService = teamMemberService; _validationObjectFactory = validationObjectFactory; _stateService = stateService; AddTeamPopupViewModel = ViewModelLocator.Resolve <AddTeamPopupViewModel>(); AddTeamPopupViewModel.InitializeAsync(this); TeamMemberProviderViewModel = ViewModelLocator.Resolve <TeamMemberProviderViewModel>(); TeamMemberProviderViewModel.InitializeAsync(this); }