| 123456789101112131415161718192021222324252627 |
- // Copyright (c) .NET Foundation. All rights reserved.
- // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
- using System;
- using System.Collections.Generic;
- namespace RepoTasks.ProjectModel
- {
- internal class PackageReferenceInfo
- {
- public PackageReferenceInfo(string id, string version, bool isImplicitlyDefined)
- {
- if (string.IsNullOrEmpty(id))
- {
- throw new ArgumentException(nameof(id));
- }
- Id = id;
- Version = version;
- IsImplicitlyDefined = isImplicitlyDefined;
- }
- public string Id { get; }
- public string Version { get; }
- public bool IsImplicitlyDefined { get; }
- }
- }
|