File: AssemblyDependency\UnifiedAssemblyName.cs
Web Access
Project: ..\..\..\src\Tasks\Microsoft.Build.Tasks.csproj (Microsoft.Build.Tasks.Core)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using Microsoft.Build.Shared;
 
#nullable disable
 
namespace Microsoft.Build.Tasks
{
    /// <summary>
    /// A unified assembly name.
    /// </summary>
    internal class UnifiedAssemblyName
    {
        public UnifiedAssemblyName(AssemblyNameExtension preUnified, AssemblyNameExtension postUnified, bool isUnified, UnificationReason unificationReason, bool isPrerequisite, bool? isRedistRoot, string redistName)
        {
            PreUnified = preUnified;
            PostUnified = postUnified;
            IsUnified = isUnified;
            IsPrerequisite = isPrerequisite;
            IsRedistRoot = isRedistRoot;
            RedistName = redistName;
            UnificationReason = unificationReason;
        }
 
        public AssemblyNameExtension PreUnified { get; }
 
        public AssemblyNameExtension PostUnified { get; }
 
        public bool IsUnified { get; }
 
        public UnificationReason UnificationReason { get; }
 
        public bool IsPrerequisite { get; }
 
        public bool? IsRedistRoot { get; }
 
        public string RedistName { get; }
    }
}