Esempio n. 1
0
        private void DoDelete(PhotoWithCommands photoWithCommands)
        {
            var file = this.GetService <IMvxSimpleFileStoreService>();

            file.DeleteFile(photoWithCommands.Path);
            Photos.Remove(photoWithCommands);
        }
Esempio n. 2
0
 private void DoShare(PhotoWithCommands photoWithCommands)
 {
     var picker = this.GetService<IPhotoPicker>();
     picker.Share(photoWithCommands.Path);
 }
Esempio n. 3
0
 private void DoDelete(PhotoWithCommands photoWithCommands)
 {
     var file = this.GetService<IMvxSimpleFileStoreService>();
     file.DeleteFile(photoWithCommands.Path);
     Photos.Remove(photoWithCommands);
 }
Esempio n. 4
0
        private void DoShare(PhotoWithCommands photoWithCommands)
        {
            var picker = this.GetService <IPhotoPicker>();

            picker.Share(photoWithCommands.Path);
        }