Make CliFolderPathCalculator a static class.

The `CliFolderPathCalculator` class implements no interface and has no instance
fields.

This commit therefore makes it a static class.
This commit is contained in:
Peter Huene 2018-05-17 12:52:21 -07:00
parent 8f8770be8a
commit 3e962bc131
No known key found for this signature in database
GPG key ID: E1D265D820213D6A
19 changed files with 40 additions and 75 deletions

View file

@ -14,7 +14,7 @@ namespace Microsoft.DotNet.Tools.MSBuild
public sealed class MSBuildLogger : INodeLogger
{
private readonly IFirstTimeUseNoticeSentinel _sentinel =
new FirstTimeUseNoticeSentinel(new CliFolderPathCalculator());
new FirstTimeUseNoticeSentinel();
private readonly ITelemetry _telemetry;
private const string NewEventName = "msbuild";
private const string TargetFrameworkTelemetryEventName = "targetframeworkeval";