// 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; namespace Internal.Microsoft.Extensions.DependencyModel { internal class TargetInfo { public TargetInfo(string framework, string runtime, string runtimeSignature, bool isPortable) { if (string.IsNullOrEmpty(framework)) { throw new ArgumentException(nameof(framework)); } Framework = framework; Runtime = runtime; RuntimeSignature = runtimeSignature; IsPortable = isPortable; } public string Framework { get; } public string Runtime { get; } public string RuntimeSignature { get; } public bool IsPortable { get; } } } |