mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-10-30 23:16:09 +00:00 
			
		
		
		
	Async du get database path pour permettre création / copie async
This commit is contained in:
		
							parent
							
								
									7d72713cd4
								
							
						
					
					
						commit
						f1a726e6b1
					
				
					 9 changed files with 96 additions and 124 deletions
				
			
		|  | @ -1,6 +1,7 @@ | |||
| using AideDeJeu.Tools; | ||||
| using System.IO; | ||||
| using System.Reflection; | ||||
| using System.Threading.Tasks; | ||||
| using Windows.ApplicationModel; | ||||
| 
 | ||||
| [assembly: Xamarin.Forms.Dependency(typeof(AideDeJeu.UWP.Version_UWP))] | ||||
|  | @ -22,7 +23,7 @@ namespace AideDeJeu.UWP | |||
|             return 0; | ||||
|         } | ||||
| 
 | ||||
|         public string GetDatabasePath(string databaseName) | ||||
|         public async Task<string> GetDatabasePathAsync(string databaseName) | ||||
|         { | ||||
|             var documentsDirectoryPath = Windows.Storage.ApplicationData.Current.LocalFolder.Path; | ||||
|             var path = Path.Combine(documentsDirectoryPath, databaseName); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yan Maniez
						Yan Maniez