// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using NuGet.Frameworks; namespace Microsoft.DotNet.ProjectModel.Server.Models { public class DiagnosticMessageGroup { public DiagnosticMessageGroup(IEnumerable diagnostics) : this(framework: null, diagnostics: diagnostics) { } public DiagnosticMessageGroup(NuGetFramework framework, IEnumerable diagnostics) { Framework = framework; Diagnostics = diagnostics; } public IEnumerable Diagnostics { get; } public NuGetFramework Framework { get; } } }