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