@@ -314,19 +314,19 @@ public void SavePluginSettings()
314
314
( ( PluginJsonStorage < T > ) _pluginJsonStorages [ type ] ) . Save ( ) ;
315
315
}
316
316
317
- public void OpenDirectory ( string directoryPath , string fileNameOrFilePath = null )
317
+ public void OpenDirectory ( string DirectoryPath , string FileNameOrFilePath = null )
318
318
{
319
319
string targetPath ;
320
320
321
- if ( fileNameOrFilePath is null )
321
+ if ( FileNameOrFilePath is null )
322
322
{
323
- targetPath = directoryPath ;
323
+ targetPath = DirectoryPath ;
324
324
}
325
325
else
326
326
{
327
- targetPath = Path . IsPathRooted ( fileNameOrFilePath )
328
- ? fileNameOrFilePath
329
- : Path . Combine ( directoryPath , fileNameOrFilePath ) ;
327
+ targetPath = Path . IsPathRooted ( FileNameOrFilePath )
328
+ ? FileNameOrFilePath
329
+ : Path . Combine ( DirectoryPath , FileNameOrFilePath ) ;
330
330
}
331
331
332
332
var explorerInfo = _settings . CustomExplorer ;
@@ -346,12 +346,12 @@ public void OpenDirectory(string directoryPath, string fileNameOrFilePath = null
346
346
// Custom File Manager
347
347
var psi = new ProcessStartInfo
348
348
{
349
- FileName = explorerInfo . Path . Replace ( "%d" , directoryPath ) ,
349
+ FileName = explorerInfo . Path . Replace ( "%d" , DirectoryPath ) ,
350
350
UseShellExecute = true ,
351
- Arguments = fileNameOrFilePath is null
352
- ? explorerInfo . DirectoryArgument . Replace ( "%d" , directoryPath )
351
+ Arguments = FileNameOrFilePath is null
352
+ ? explorerInfo . DirectoryArgument . Replace ( "%d" , DirectoryPath )
353
353
: explorerInfo . FileArgument
354
- . Replace ( "%d" , directoryPath )
354
+ . Replace ( "%d" , DirectoryPath )
355
355
. Replace ( "%f" , targetPath )
356
356
} ;
357
357
0 commit comments