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

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

            picker.Share(photoWithCommands.Path);
        }