|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.NET.Sdk.Razor.Tool
{
internal struct ServerPaths
{
internal ServerPaths(string clientDir, string workingDir, string tempDir)
{
ClientDirectory = clientDir;
WorkingDirectory = workingDir;
TempDirectory = tempDir;
}
/// <summary>
/// The path which contains the Razor compiler binaries and response files.
/// </summary>
internal string ClientDirectory { get; }
/// <summary>
/// The path in which the Razor compilation takes place.
/// </summary>
internal string WorkingDirectory { get; }
/// <summary>
/// The temporary directory a compilation should use instead of <see cref="Path.GetTempPath"/>. The latter
/// relies on global state individual compilations should ignore.
/// </summary>
internal string TempDirectory { get; }
}
}
|