예제 #1
0
 public MediaActionPopupViewModel(
     IProfileMediaService profileMediaService,
     IMediaPickerService mediaPickerService,
     IFileDTOBuilder fileDTOBuilder)
 {
     _profileMediaService = profileMediaService;
     _mediaPickerService  = mediaPickerService;
     _fileDTOBuilder      = fileDTOBuilder;
 }
예제 #2
0
 public PickAvatarPopupViewModelBase(
     IMediaPickerService mediaPickerService,
     IProfileService profileService,
     IIdentityUtilService identityUtilService,
     IProfileMediaService profileMediaService,
     IFileDTOBuilder fileDTOBuilder)
 {
     _mediaPickerService  = mediaPickerService;
     _profileService      = profileService;
     _identityUtilService = identityUtilService;
     _profileMediaService = profileMediaService;
     _fileDTOBuilder      = fileDTOBuilder;
 }
예제 #3
0
 public PickProfileAvatarPopupViewModel(
     IMediaPickerService mediaPickerService,
     IProfileService profileService,
     IIdentityUtilService identityUtilService,
     IProfileMediaService profileMediaService,
     IFileDTOBuilder fileDTOBuilder)
     : base(
         mediaPickerService,
         profileService,
         identityUtilService,
         profileMediaService,
         fileDTOBuilder)
 {
 }
        public ManagePicturesViewModel(
            IMediaPickerService mediaPickerService,
            IProfileMediaService profileMediaService,
            IFileDTOBuilder fileDTOBuilder,
            IStateService stateService)
        {
            _mediaPickerService  = mediaPickerService;
            _profileMediaService = profileMediaService;
            _fileDTOBuilder      = fileDTOBuilder;
            _stateService        = stateService;

            AddedPictures = new ObservableCollection <ProfileMediaDTO>();
            IsAnyPictures = AddedPictures.Any();
        }
예제 #5
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;
 }
        public EditPostPopupViewModel(IProfileMediaService profileMediaService,
                                      IMediaPickerService mediaPickerService,
                                      IValidationObjectFactory validationObjectFactory,
                                      IPostService postService,
                                      IFileDTOBuilder fileDTOBuilder,
                                      IMediaFactory mediaFactory)
        {
            _profileMediaService     = profileMediaService;
            _fileDTOBuilder          = fileDTOBuilder;
            _validationObjectFactory = validationObjectFactory;
            _postService             = postService;
            _mediaPickerService      = mediaPickerService;
            _mediaFactory            = mediaFactory;

            ResolveProfileInfo();
        }
 public PlayerSelfInformationViewModel(
     IValidationObjectFactory validationObjectFactory,
     IProfileService profileService,
     IMediaPickerService mediaPickerService,
     IFileDTOBuilder fileDTOBuilder,
     IIdentityUtilService identityUtilService,
     IProfileMediaService profileMediaService)
     : base(
         validationObjectFactory,
         profileService,
         mediaPickerService,
         fileDTOBuilder,
         identityUtilService,
         profileMediaService)
 {
     ResetInputForm();
 }
예제 #8
0
        public CreateFeedViewModel(IProfileMediaService profileMediaService,
                                   IMediaFactory mediaFactory,
                                   IMediaPickerService mediaPickerService,
                                   IPostService postService,
                                   IValidationObjectFactory validationObjectFactory,
                                   IFileDTOBuilder fileDTOBuilder,
                                   IStateService stateService)
        {
            _profileMediaService     = profileMediaService;
            _mediaPickerService      = mediaPickerService;
            _postService             = postService;
            _validationObjectFactory = validationObjectFactory;
            _fileDTOBuilder          = fileDTOBuilder;
            _mediaFactory            = mediaFactory;
            _stateService            = stateService;

            IsAnyMedia = AttachedMedia.Any();
            ResetValidationObjects();
        }