dotnet-installer/src/Microsoft.Extensions.DependencyModel/RuntimeLibrary.cs

30 lines
945 B
C#
Raw Normal View History

// 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 System.Linq;
namespace Microsoft.Extensions.DependencyModel
{
public class RuntimeLibrary : Library
{
2016-02-25 11:00:48 -08:00
public RuntimeLibrary(
string libraryType,
string packageName,
string version,
string hash,
2016-03-02 15:31:13 -08:00
RuntimeAssembly[] assemblies,
2016-02-25 11:00:48 -08:00
RuntimeTarget[] subTargets,
Dependency[] dependencies,
bool serviceable)
: base(libraryType, packageName, version, hash, dependencies, serviceable)
{
2016-03-02 15:31:13 -08:00
Assemblies = assemblies;
2016-02-25 11:00:48 -08:00
SubTargets = subTargets;
}
public IReadOnlyList<RuntimeAssembly> Assemblies { get; }
2016-02-25 11:00:48 -08:00
public IReadOnlyList<RuntimeTarget> SubTargets { get; }
}
}