4 instantiations of RazorPidFile
dotnet (1)
BuildServer\RazorPidFile.cs (1)
58return new RazorPidFile(path, processId, new FilePath(serverPath), pipeName);
dotnet.Tests (3)
BuildServerTests\RazorServerTests.cs (3)
41pidFile: new RazorPidFile( 80pidFile: new RazorPidFile( 114pidFile: new RazorPidFile(
17 references to RazorPidFile
dotnet (7)
BuildServer\BuildServerProvider.cs (4)
57Path.GetFileName(path).StartsWith(RazorPidFile.FilePrefix)) 59var file = ReadRazorPidFile(new FilePath(path)); 83private RazorPidFile ReadRazorPidFile(FilePath path) 87return RazorPidFile.Read(path, _fileSystem);
BuildServer\RazorPidFile.cs (1)
23public static RazorPidFile Read(FilePath path, IFileSystem fileSystem = null)
BuildServer\RazorServer.cs (2)
12RazorPidFile pidFile, 23public RazorPidFile PidFile { get; } = pidFile ?? throw new ArgumentNullException(nameof(pidFile));
dotnet.Tests (10)
BuildServerTests\BuildServerProviderTests.cs (4)
105string pidFilePath = Path.Combine(pidDirectory, $"{RazorPidFile.FilePrefix}{ProcessId}"); 113$"{ProcessId}{Environment.NewLine}{RazorPidFile.RazorServerType}{Environment.NewLine}{serverPath}{Environment.NewLine}{PipeName}") 115Path.Combine(pidDirectory, $"{RazorPidFile.FilePrefix}not-a-pid-file"), 146string pidFilePath = Path.Combine(pidDirectory, $"{RazorPidFile.FilePrefix}{ProcessId}");
BuildServerTests\RazorServerTests.cs (3)
27string pidFilePath = Path.Combine(pidDirectory, $"{RazorPidFile.FilePrefix}{ProcessId}"); 66string pidFilePath = Path.Combine(pidDirectory, $"{RazorPidFile.FilePrefix}{ProcessId}"); 100string pidFilePath = Path.Combine(pidDirectory, $"{RazorPidFile.FilePrefix}{ProcessId}");
CommandTests\BuildServer\Shutdown\BuildServerShutdownCommandTests.cs (3)
177var files = Directory.GetFiles(pidDirectory, RazorPidFile.FilePrefix + "*"); 180var pidFile = RazorPidFile.Read(new FilePath(files.First()));