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

30 lines
925 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(
2016-03-04 14:12:16 -08:00
string type,
string name,
2016-02-25 11:00:48 -08:00
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-03-04 14:12:16 -08:00
: base(type, name, version, hash, dependencies, serviceable)
{
2016-03-02 15:31:13 -08:00
Assemblies = assemblies;
2016-03-04 14:12:16 -08:00
RuntimeTargets = subTargets;
}
public IReadOnlyList<RuntimeAssembly> Assemblies { get; }
2016-02-25 11:00:48 -08:00
2016-03-04 14:12:16 -08:00
public IReadOnlyList<RuntimeTarget> RuntimeTargets { get; }
2016-02-25 11:00:48 -08:00
}
}