public static ProcessStartInfo Create(ProcessCommand command)
 {
     return(new ProcessStartInfo {
         FileName = @"C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe",
         Arguments = command.ToString().ToLower(),
         RedirectStandardOutput = true,
         RedirectStandardError = true,
         UseShellExecute = false,
         CreateNoWindow = true
     });
 }
Beispiel #2
0
 public static ProcessStartInfo Create(ProcessCommand command)
 {
     return(new ProcessStartInfo
     {
         FileName = _windowsAzureStorageEmulatorPath,
         Arguments = command.ToString().ToLower(),
         RedirectStandardOutput = true,
         RedirectStandardError = true,
         UseShellExecute = false,
         CreateNoWindow = true
     });
 }
Beispiel #3
0
 private static string GetCommandArgument(ProcessCommand command)
 {
     return(command == ProcessCommand.Init ?
            @"init /server (localdb)\MSSQLLocalDb /forceCreate" :
            command.ToString().ToUpperInvariant());
 }
 /// <summary>
 /// The create.
 /// </summary>
 /// <param name="command">
 /// The command.
 /// </param>
 /// <returns>
 /// The <see cref="ProcessStartInfo"/>.
 /// </returns>
 public static ProcessStartInfo Create(ProcessCommand command)
 {
     return new ProcessStartInfo
     {
         FileName = @"C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\WAStorageEmulator.exe",
         Arguments = command.ToString().ToLower(),
         RedirectStandardOutput = true,
         RedirectStandardError = true,
         UseShellExecute = false,
         CreateNoWindow = true
     };
 }