2016-10-03 22:36:14 +00:00
|
|
|
// 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;
|
|
|
|
|
2016-10-04 04:40:24 +00:00
|
|
|
namespace Microsoft.DotNet.Cli.CommandResolution
|
2016-10-03 22:36:14 +00:00
|
|
|
{
|
|
|
|
internal class SingleProjectInfo
|
|
|
|
{
|
|
|
|
public string Name { get; }
|
|
|
|
public string Version { get; }
|
|
|
|
|
|
|
|
public IEnumerable<ResourceAssemblyInfo> ResourceAssemblies { get; }
|
|
|
|
|
|
|
|
public SingleProjectInfo(string name, string version, IEnumerable<ResourceAssemblyInfo> resourceAssemblies)
|
|
|
|
{
|
|
|
|
Name = name;
|
|
|
|
Version = version;
|
|
|
|
ResourceAssemblies = resourceAssemblies;
|
|
|
|
}
|
|
|
|
|
|
|
|
public string GetOutputName()
|
|
|
|
{
|
|
|
|
return $"{Name}.dll";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|