@@ -180,7 +180,7 @@ private static async void Connection_RequestReceived(AppServiceConnection sender
180180 var localSettings = ApplicationData . Current . LocalSettings ;
181181 Logger . Info ( $ "Argument: { arguments } ") ;
182182
183- await parseArguments ( args , messageDeferral , arguments , localSettings ) ;
183+ await ParseArgumentsAsync ( args , messageDeferral , arguments , localSettings ) ;
184184 }
185185 else if ( args . Request . Message . ContainsKey ( "Application" ) )
186186 {
@@ -201,7 +201,7 @@ private static async void Connection_RequestReceived(AppServiceConnection sender
201201 }
202202 }
203203
204- private static async Task parseArguments ( AppServiceRequestReceivedEventArgs args , AppServiceDeferral messageDeferral , string arguments , ApplicationDataContainer localSettings )
204+ private static async Task ParseArgumentsAsync ( AppServiceRequestReceivedEventArgs args , AppServiceDeferral messageDeferral , string arguments , ApplicationDataContainer localSettings )
205205 {
206206 switch ( arguments )
207207 {
@@ -213,7 +213,7 @@ private static async Task parseArguments(AppServiceRequestReceivedEventArgs args
213213
214214 case "RecycleBin" :
215215 var binAction = ( string ) args . Request . Message [ "action" ] ;
216- await parseRecycleBinAction ( args , binAction ) ;
216+ await ParseRecycleBinActionAsync ( args , binAction ) ;
217217 break ;
218218
219219 case "StartupTasks" :
@@ -246,7 +246,7 @@ private static async Task parseArguments(AppServiceRequestReceivedEventArgs args
246246 case "LoadContextMenu" :
247247 var contextMenuResponse = new ValueSet ( ) ;
248248 var loadThreadWithMessageQueue = new Win32API . ThreadWithMessageQueue < ValueSet > ( HandleMenuMessage ) ;
249- var cMenuLoad = await loadThreadWithMessageQueue . PostMessage < Win32API . ContextMenu > ( args . Request . Message ) ;
249+ var cMenuLoad = await loadThreadWithMessageQueue . PostMessageAsync < Win32API . ContextMenu > ( args . Request . Message ) ;
250250 contextMenuResponse . Add ( "Handle" , handleTable . AddValue ( loadThreadWithMessageQueue ) ) ;
251251 contextMenuResponse . Add ( "ContextMenu" , JsonConvert . SerializeObject ( cMenuLoad ) ) ;
252252 await args . Request . SendResponseAsync ( contextMenuResponse ) ;
@@ -293,7 +293,7 @@ private static async Task parseArguments(AppServiceRequestReceivedEventArgs args
293293 break ;
294294
295295 case "FileOperation" :
296- await parseFileOperation ( args ) ;
296+ await ParseFileOperationAsync ( args ) ;
297297 break ;
298298
299299 case "GetIconOverlay" :
@@ -381,7 +381,7 @@ bool filterMenuItemsImpl(string menuItem)
381381 return filterMenuItemsImpl ;
382382 }
383383
384- private static async Task parseFileOperation ( AppServiceRequestReceivedEventArgs args )
384+ private static async Task ParseFileOperationAsync ( AppServiceRequestReceivedEventArgs args )
385385 {
386386 var fileOp = ( string ) args . Request . Message [ "fileop" ] ;
387387
@@ -499,7 +499,7 @@ await Win32API.StartSTATask(() =>
499499 }
500500 }
501501
502- private static async Task parseRecycleBinAction ( AppServiceRequestReceivedEventArgs args , string action )
502+ private static async Task ParseRecycleBinActionAsync ( AppServiceRequestReceivedEventArgs args , string action )
503503 {
504504 switch ( action )
505505 {
@@ -649,7 +649,7 @@ await Win32API.StartSTATask(() =>
649649 var groups = split . GroupBy ( x => new
650650 {
651651 Dir = Path . GetDirectoryName ( x ) ,
652- Prog = Win32API . GetFileAssociation ( x ) . Result ?? Path . GetExtension ( x )
652+ Prog = Win32API . GetFileAssociationAsync ( x ) . Result ?? Path . GetExtension ( x )
653653 } ) ;
654654 foreach ( var group in groups )
655655 {
0 commit comments