public void Init(IProfileData profileData)
        {
            this._profileData = profileData;
            this._groupData   = this._profileData as GroupData;
            this._isGroup     = this._groupData != null;
            List <MediaListItemViewModelBase> items = ProfilePhotosViewModel.CreateItems(profileData);

            if (!ProfilePhotosViewModel.AreItemsEqual((IList <MediaListItemViewModelBase>)items, (IList <MediaListItemViewModelBase>) this._itemsVM.Collection))
            {
                this._offset = this._isGroup || items.Count <= 0 ? items.Count : ((PhotoMediaListItemViewModel)Enumerable.Last <MediaListItemViewModelBase>(items)).Photo.real_offset + 1;
                this._cachedSources.Clear();
                foreach (PhotoMediaListItemViewModel listItemViewModel in items)
                {
                    this._cachedSources.Add(listItemViewModel.ImageUri);
                }
                this.Items = new ObservableCollection <MediaListItemViewModelBase>(items);
                this._itemsVM.LoadData(true, true, true, true, null, null, false);
            }
            // ISSUE: type reference
            // ISSUE: method reference
            this.NotifyPropertyChanged <int>(() => this.Count);
            // ISSUE: type reference
            // ISSUE: method reference
            this.NotifyPropertyChanged <bool>(() => this.CanDisplay);
            // ISSUE: type reference
            // ISSUE: method reference
            this.NotifyPropertyChanged <string>(() => this.Title);
        }
        public void Handle(PhotoDeletedFromAlbum message)
        {
            ProfilePhotosViewModel horizontalItemsViewModel = this._mediaHorizontalItemsViewModel as ProfilePhotosViewModel;

            if (horizontalItemsViewModel == null)
            {
                return;
            }
            horizontalItemsViewModel.HandlePhotoDeleted(message);
            // ISSUE: method reference
            this.NotifyPropertyChanged <Visibility>(() => this.MediaHorizontalItemsVisibility);
        }
        public void Init(IProfileData profileData)
        {
            this._profileData = profileData;
            this._groupData   = this._profileData as GroupData;
            this._isGroup     = this._groupData != null;
            List <MediaListItemViewModelBase> items = ProfilePhotosViewModel.CreateItems(profileData);

            if (!ProfilePhotosViewModel.AreItemsEqual((IList <MediaListItemViewModelBase>)items, (IList <MediaListItemViewModelBase>) this._itemsVM.Collection))
            {
                this._offset = this._isGroup || items.Count <= 0 ? items.Count : ((PhotoMediaListItemViewModel)items.Last <MediaListItemViewModelBase>()).Photo.real_offset + 1;
                this._cachedSources.Clear();
                foreach (PhotoMediaListItemViewModel listItemViewModel in items)
                {
                    this._cachedSources.Add(listItemViewModel.ImageUri);
                }
                this.Items = new ObservableCollection <MediaListItemViewModelBase>(items);
                this._itemsVM.LoadData(true, true, true, true, (Action <List <MediaListItemViewModelBase> >)null, (Action <BackendResult <VKList <Photo>, ResultCode> >)null, false);
            }
            this.NotifyPropertyChanged <int>((System.Linq.Expressions.Expression <Func <int> >)(() => this.Count));
            this.NotifyPropertyChanged <bool>((System.Linq.Expressions.Expression <Func <bool> >)(() => this.CanDisplay));
            this.NotifyPropertyChanged <string>((System.Linq.Expressions.Expression <Func <string> >)(() => this.Title));
        }