| File: Evaluation\MetadataReference.cs | Web Access |
| Project: src\msbuild\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. namespace Microsoft.Build.Evaluation { /// <summary> /// This struct represents a reference to a piece of item metadata. For example, /// %(EmbeddedResource.Culture) or %(Culture) in the project file. In this case, /// "EmbeddedResource" is the item name, and "Culture" is the metadata name. /// The item name is optional. /// </summary> internal struct MetadataReference { /// <summary> /// The item name /// </summary> internal string ItemName; // Could be null if the %(...) is not qualified with an item name. /// <summary> /// The metadata name /// </summary> internal string MetadataName; /// <summary> /// Constructor /// </summary> /// <param name="itemName">Name of the item</param> /// <param name="metadataName">Name of the metadata</param> internal MetadataReference( string itemName, string metadataName) { this.ItemName = itemName; this.MetadataName = metadataName; } } }