Use a separate line for each property initializer

This commit is contained in:
Mark Monteiro
2020-04-11 13:25:50 -04:00
parent 3d8501e462
commit 7152b55747
6 changed files with 96 additions and 69 deletions

View File

@@ -1700,13 +1700,16 @@ namespace Emby.Server.Implementations
throw new NotSupportedException();
}
var processStartInfo = new ProcessStartInfo
var process = new Process
{
FileName = url,
UseShellExecute = true,
ErrorDialog = false
StartInfo = new ProcessStartInfo
{
FileName = url,
UseShellExecute = true,
ErrorDialog = false
},
EnableRaisingEvents = true
};
var process = new Process { StartInfo = processStartInfo, EnableRaisingEvents = true };
process.Exited += (sender, args) => ((Process)sender).Dispose();
try