2016-01-07 15:11:47 -08: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;
|
|
|
|
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)
|
2016-01-07 15:11:47 -08:00
|
|
|
: 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;
|
2016-01-07 15:11:47 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
public IReadOnlyList<RuntimeAssembly> Assemblies { get; }
|
2016-02-25 11:00:48 -08:00
|
|
|
|
|
|
|
public IReadOnlyList<RuntimeTarget> SubTargets { get; }
|
|
|
|
}
|
2016-01-07 15:11:47 -08:00
|
|
|
}
|