File: BackEnd\Components\ProjectCache\FileAccessContext.cs
Web Access
Project: ..\..\..\src\Build\Microsoft.Build.csproj (Microsoft.Build)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System.Collections.Generic;
 
namespace Microsoft.Build.Experimental.ProjectCache
{
    public readonly struct FileAccessContext
    {
        public FileAccessContext(
            string projectFullPath,
            IReadOnlyDictionary<string, string> globalProperties,
            IReadOnlyList<string> targets)
        {
            ProjectFullPath = projectFullPath;
            GlobalProperties = globalProperties;
            Targets = targets;
        }
 
        public string ProjectFullPath { get; }
 
        public IReadOnlyDictionary<string, string> GlobalProperties { get; }
 
        public IReadOnlyList<string> Targets { get; }
    }
}