Esempio n. 1
0
 public SchedulingService(
     IRequestProvider requestProvider,
     IIdentityUtilService identityUtilService)
 {
     _requestProvider     = requestProvider;
     _identityUtilService = identityUtilService;
 }
Esempio n. 2
0
 public FamilyService(
     IRequestProvider requestProvider,
     IIdentityUtilService identityUtilService)
 {
     _requestProvider     = requestProvider;
     _identityUtilService = identityUtilService;
 }
Esempio n. 3
0
 /// <summary>
 ///     ctor().
 /// </summary>
 public SearchService(
     IRequestProvider requestProvider,
     IFoundUserGroupDataItemFactory foundUserGroupDataItemFactory,
     IIdentityUtilService identityUtilService)
 {
     _requestProvider = requestProvider;
     _foundUserGroupDataItemFactory = foundUserGroupDataItemFactory;
     _identityUtilService           = identityUtilService;
 }
Esempio n. 4
0
 /// <summary>
 ///     ctor().
 /// </summary>
 public ProfileMediaService(
     IRequestProvider requestProvider,
     IIdentityUtilService identityUtilService,
     IMediaFactory mediaFactory)
 {
     _requestProvider     = requestProvider;
     _identityUtilService = identityUtilService;
     _mediaFactory        = mediaFactory;
 }
Esempio n. 5
0
 public TeamMemberService(
     IRequestProvider requestProvider,
     IIdentityUtilService identityUtilService,
     ITeamMemberFactory teamMemberFactory)
 {
     _requestProvider     = requestProvider;
     _identityUtilService = identityUtilService;
     _teamMemberFactory   = teamMemberFactory;
 }
Esempio n. 6
0
        public CommonActionBarViewModel(
            IMenuOptionsDataItems menuOptionsDataItems,
            IIdentityUtilService identityUtilService)
        {
            _menuOptionsDataItems = menuOptionsDataItems;
            _identityUtilService  = identityUtilService;

            CommonActionBarSearchViewModel = ViewModelLocator.Resolve <CommonActionBarSearchViewModel>();
        }
Esempio n. 7
0
 /// <summary>
 ///     ctor().
 /// </summary>
 public FriendService(
     IRequestProvider requestProvider,
     IProfileService profileService,
     IIdentityUtilService identityUtilService)
 {
     _requestProvider     = requestProvider;
     _profileService      = profileService;
     _identityUtilService = identityUtilService;
 }
Esempio n. 8
0
 public IdentityService(
     IRequestProvider requestProvider,
     IDialogService dialogService,
     INavigationService navigationService,
     IIdentityUtilService identityUtilService)
 {
     _requestProvider     = requestProvider;
     _dialogService       = dialogService;
     _navigationService   = navigationService;
     _identityUtilService = identityUtilService;
 }
Esempio n. 9
0
 /// <summary>
 ///     ctor().
 /// </summary>
 public TeamService(
     IRequestProvider requestProvider,
     IIdentityUtilService identityUtilService,
     ITeamFactory teamFactory,
     IProfileFactory profileFactory)
 {
     _requestProvider     = requestProvider;
     _identityUtilService = identityUtilService;
     _teamFactory         = teamFactory;
     _profileFactory      = profileFactory;
 }
Esempio n. 10
0
 public PickAvatarPopupViewModelBase(
     IMediaPickerService mediaPickerService,
     IProfileService profileService,
     IIdentityUtilService identityUtilService,
     IProfileMediaService profileMediaService,
     IFileDTOBuilder fileDTOBuilder)
 {
     _mediaPickerService  = mediaPickerService;
     _profileService      = profileService;
     _identityUtilService = identityUtilService;
     _profileMediaService = profileMediaService;
     _fileDTOBuilder      = fileDTOBuilder;
 }
Esempio n. 11
0
        public AddChildrenPopupViewModel(
            IValidationObjectFactory validationObjectFactory,
            IIdentityService identityService,
            IProfileService profileService,
            IIdentityUtilService identityUtilService)
        {
            _validationObjectFactory = validationObjectFactory;
            _identityService         = identityService;
            _profileService          = profileService;
            _identityUtilService     = identityUtilService;

            ResetValidationObjects();
        }
Esempio n. 12
0
 public PickProfileAvatarPopupViewModel(
     IMediaPickerService mediaPickerService,
     IProfileService profileService,
     IIdentityUtilService identityUtilService,
     IProfileMediaService profileMediaService,
     IFileDTOBuilder fileDTOBuilder)
     : base(
         mediaPickerService,
         profileService,
         identityUtilService,
         profileMediaService,
         fileDTOBuilder)
 {
 }
        public ParentProfileContentViewModel(
            IValidationObjectFactory validationObjectFactory,
            IIdentityService identityService,
            IChildrenFactory childrenFactory,
            IProfileService profileService,
            IIdentityUtilService identityUtilService)
        {
            _childrenFactory     = childrenFactory;
            _profileService      = profileService;
            _identityUtilService = identityUtilService;

            AddChildrenPopupViewModel = ViewModelLocator.Resolve <AddChildrenPopupViewModel>();
            AddChildrenPopupViewModel.InitializeAsync(this);
        }
Esempio n. 14
0
 /// <summary>
 ///     ctor().
 /// </summary>
 public ProfileService(
     IRequestProvider requestProvider,
     IIdentityUtilService identityUtilService,
     IProfileMediaService profileMediaService,
     IMediaFactory mediaFactory,
     IProfileFactory profileFactory,
     INavigationService navigationService)
 {
     _requestProvider     = requestProvider;
     _identityUtilService = identityUtilService;
     _mediaFactory        = mediaFactory;
     _navigationService   = navigationService;
     _profileFactory      = profileFactory;
 }
Esempio n. 15
0
        public SettingsViewModel(
            IValidationObjectFactory validationObjectFactory,
            IMediaPickerService mediaPickerService,
            IProfileService profileService,
            IIdentityUtilService identityUtilService,
            IIdentityService identityService)
        {
            _validationObjectFactory = validationObjectFactory;
            _identityUtilService     = identityUtilService;
            _mediaPickerService      = mediaPickerService;
            _identityService         = identityService;
            _profileService          = profileService;

            switch (GlobalSettings.Instance.UserProfile.ProfileType)
            {
            case Models.DataItems.Autorization.ProfileType.Fan:
                SelfInformationViewModel = ViewModelLocator.Resolve <FanSelfInformationViewModel>();
                break;

            case Models.DataItems.Autorization.ProfileType.Player:
                SelfInformationViewModel = ViewModelLocator.Resolve <PlayerSelfInformationViewModel>();
                break;

            case Models.DataItems.Autorization.ProfileType.Parent:
                SelfInformationViewModel = ViewModelLocator.Resolve <ParentSelfInformationViewModel>();
                break;

            case Models.DataItems.Autorization.ProfileType.Organization:
                SelfInformationViewModel = ViewModelLocator.Resolve <OrganizationSelfInformationViewModel>();
                break;

            case Models.DataItems.Autorization.ProfileType.Coach:
                SelfInformationViewModel = ViewModelLocator.Resolve <CoachSelfInformationViewModel>();
                break;

            default:
                Debugger.Break();
                break;
            }
            SelfInformationViewModel?.InitializeAsync(this);

            PickAvatarPopupViewModel = ViewModelLocator.Resolve <PickProfileAvatarPopupViewModel>();
            PickAvatarPopupViewModel.InitializeAsync(this);

            ResetInputForm();

            IsImpersonateLogBackAvailable = (GlobalSettings.Instance.UserProfile.ImpersonateProfile != null);
            IsNestedPullToRefreshEnabled  = true;
        }
Esempio n. 16
0
 public SelfInformationBase(
     IValidationObjectFactory validationObjectFactory,
     IProfileService profileService,
     IMediaPickerService mediaPickerService,
     IFileDTOBuilder fileDTOBuilder,
     IIdentityUtilService identityUtilService,
     IProfileMediaService profileMediaService)
 {
     _validationObjectFactory = validationObjectFactory;
     _profileService          = profileService;
     _mediaPickerService      = mediaPickerService;
     _fileDTOBuilder          = fileDTOBuilder;
     _identityUtilService     = identityUtilService;
     _profileMediaService     = profileMediaService;
 }
Esempio n. 17
0
 public PostService(
     IRequestProvider requestProvider,
     IIdentityUtilService identityUtilService,
     IGroupsService groupsService,
     IPostPublicityScopeFactory postPublicityScopeFactory,
     ITeamMemberService teamMemberService,
     IFamilyService familyService)
 {
     _requestProvider           = requestProvider;
     _identityUtilService       = identityUtilService;
     _groupsService             = groupsService;
     _postPublicityScopeFactory = postPublicityScopeFactory;
     _teamMemberService         = teamMemberService;
     _familyService             = familyService;
 }
 public PlayerSelfInformationViewModel(
     IValidationObjectFactory validationObjectFactory,
     IProfileService profileService,
     IMediaPickerService mediaPickerService,
     IFileDTOBuilder fileDTOBuilder,
     IIdentityUtilService identityUtilService,
     IProfileMediaService profileMediaService)
     : base(
         validationObjectFactory,
         profileService,
         mediaPickerService,
         fileDTOBuilder,
         identityUtilService,
         profileMediaService)
 {
     ResetInputForm();
 }
Esempio n. 19
0
        public LoginViewModel(
            IProfileService profileService,
            IIdentityService identityService,
            IValidationObjectFactory validationObjectFactory,
            IIdentityUtilService identityUtilService)
        {
            _profileService      = profileService;
            _identityService     = identityService;
            _identityUtilService = identityUtilService;

            _user     = validationObjectFactory.GetValidatableObject <string>();
            _password = validationObjectFactory.GetValidatableObject <string>();

            AddValidations();

            //#if DEBUG
            //            User.Value = "todd";
            //            Password.Value = "rlrl240";
            //#endif
        }