Поделиться через


RuntimeLibrary Конструкторы

Определение

Перегрузки

RuntimeLibrary(String, String, String, String, IReadOnlyList<RuntimeAssetGroup>, IReadOnlyList<RuntimeAssetGroup>, IEnumerable<ResourceAssembly>, IEnumerable<Dependency>, Boolean)
RuntimeLibrary(String, String, String, String, IReadOnlyList<RuntimeAssetGroup>, IReadOnlyList<RuntimeAssetGroup>, IEnumerable<ResourceAssembly>, IEnumerable<Dependency>, Boolean, String, String)
RuntimeLibrary(String, String, String, String, IReadOnlyList<RuntimeAssetGroup>, IReadOnlyList<RuntimeAssetGroup>, IEnumerable<ResourceAssembly>, IEnumerable<Dependency>, Boolean, String, String, String)

Инициализирует новый объект RuntimeLibrary.

RuntimeLibrary(String, String, String, String, IReadOnlyList<RuntimeAssetGroup>, IReadOnlyList<RuntimeAssetGroup>, IEnumerable<ResourceAssembly>, IEnumerable<Dependency>, Boolean)

Исходный код:
RuntimeLibrary.cs
Исходный код:
RuntimeLibrary.cs
Исходный код:
RuntimeLibrary.cs
Исходный код:
RuntimeLibrary.cs
public:
 RuntimeLibrary(System::String ^ type, System::String ^ name, System::String ^ version, System::String ^ hash, System::Collections::Generic::IReadOnlyList<Microsoft::Extensions::DependencyModel::RuntimeAssetGroup ^> ^ runtimeAssemblyGroups, System::Collections::Generic::IReadOnlyList<Microsoft::Extensions::DependencyModel::RuntimeAssetGroup ^> ^ nativeLibraryGroups, System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyModel::ResourceAssembly ^> ^ resourceAssemblies, System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyModel::Dependency> ^ dependencies, bool serviceable);
public RuntimeLibrary (string type, string name, string version, string? hash, System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> runtimeAssemblyGroups, System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> nativeLibraryGroups, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.ResourceAssembly> resourceAssemblies, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.Dependency> dependencies, bool serviceable);
new Microsoft.Extensions.DependencyModel.RuntimeLibrary : string * string * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> * System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> * seq<Microsoft.Extensions.DependencyModel.ResourceAssembly> * seq<Microsoft.Extensions.DependencyModel.Dependency> * bool -> Microsoft.Extensions.DependencyModel.RuntimeLibrary
Public Sub New (type As String, name As String, version As String, hash As String, runtimeAssemblyGroups As IReadOnlyList(Of RuntimeAssetGroup), nativeLibraryGroups As IReadOnlyList(Of RuntimeAssetGroup), resourceAssemblies As IEnumerable(Of ResourceAssembly), dependencies As IEnumerable(Of Dependency), serviceable As Boolean)

Параметры

type
String
name
String
version
String
hash
String
runtimeAssemblyGroups
IReadOnlyList<RuntimeAssetGroup>
nativeLibraryGroups
IReadOnlyList<RuntimeAssetGroup>
resourceAssemblies
IEnumerable<ResourceAssembly>
dependencies
IEnumerable<Dependency>
serviceable
Boolean

Применяется к

RuntimeLibrary(String, String, String, String, IReadOnlyList<RuntimeAssetGroup>, IReadOnlyList<RuntimeAssetGroup>, IEnumerable<ResourceAssembly>, IEnumerable<Dependency>, Boolean, String, String)

Исходный код:
RuntimeLibrary.cs
Исходный код:
RuntimeLibrary.cs
Исходный код:
RuntimeLibrary.cs
Исходный код:
RuntimeLibrary.cs
public:
 RuntimeLibrary(System::String ^ type, System::String ^ name, System::String ^ version, System::String ^ hash, System::Collections::Generic::IReadOnlyList<Microsoft::Extensions::DependencyModel::RuntimeAssetGroup ^> ^ runtimeAssemblyGroups, System::Collections::Generic::IReadOnlyList<Microsoft::Extensions::DependencyModel::RuntimeAssetGroup ^> ^ nativeLibraryGroups, System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyModel::ResourceAssembly ^> ^ resourceAssemblies, System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyModel::Dependency> ^ dependencies, bool serviceable, System::String ^ path, System::String ^ hashPath);
public RuntimeLibrary (string type, string name, string version, string? hash, System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> runtimeAssemblyGroups, System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> nativeLibraryGroups, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.ResourceAssembly> resourceAssemblies, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.Dependency> dependencies, bool serviceable, string? path, string? hashPath);
new Microsoft.Extensions.DependencyModel.RuntimeLibrary : string * string * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> * System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> * seq<Microsoft.Extensions.DependencyModel.ResourceAssembly> * seq<Microsoft.Extensions.DependencyModel.Dependency> * bool * string * string -> Microsoft.Extensions.DependencyModel.RuntimeLibrary
Public Sub New (type As String, name As String, version As String, hash As String, runtimeAssemblyGroups As IReadOnlyList(Of RuntimeAssetGroup), nativeLibraryGroups As IReadOnlyList(Of RuntimeAssetGroup), resourceAssemblies As IEnumerable(Of ResourceAssembly), dependencies As IEnumerable(Of Dependency), serviceable As Boolean, path As String, hashPath As String)

Параметры

type
String
name
String
version
String
hash
String
runtimeAssemblyGroups
IReadOnlyList<RuntimeAssetGroup>
nativeLibraryGroups
IReadOnlyList<RuntimeAssetGroup>
resourceAssemblies
IEnumerable<ResourceAssembly>
dependencies
IEnumerable<Dependency>
serviceable
Boolean
path
String
hashPath
String

Применяется к

RuntimeLibrary(String, String, String, String, IReadOnlyList<RuntimeAssetGroup>, IReadOnlyList<RuntimeAssetGroup>, IEnumerable<ResourceAssembly>, IEnumerable<Dependency>, Boolean, String, String, String)

Исходный код:
RuntimeLibrary.cs
Исходный код:
RuntimeLibrary.cs
Исходный код:
RuntimeLibrary.cs
Исходный код:
RuntimeLibrary.cs

Инициализирует новый объект RuntimeLibrary.

public:
 RuntimeLibrary(System::String ^ type, System::String ^ name, System::String ^ version, System::String ^ hash, System::Collections::Generic::IReadOnlyList<Microsoft::Extensions::DependencyModel::RuntimeAssetGroup ^> ^ runtimeAssemblyGroups, System::Collections::Generic::IReadOnlyList<Microsoft::Extensions::DependencyModel::RuntimeAssetGroup ^> ^ nativeLibraryGroups, System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyModel::ResourceAssembly ^> ^ resourceAssemblies, System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyModel::Dependency> ^ dependencies, bool serviceable, System::String ^ path, System::String ^ hashPath, System::String ^ runtimeStoreManifestName);
public RuntimeLibrary (string type, string name, string version, string? hash, System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> runtimeAssemblyGroups, System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> nativeLibraryGroups, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.ResourceAssembly> resourceAssemblies, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.Dependency> dependencies, bool serviceable, string? path, string? hashPath, string? runtimeStoreManifestName);
new Microsoft.Extensions.DependencyModel.RuntimeLibrary : string * string * string * string * System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> * System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> * seq<Microsoft.Extensions.DependencyModel.ResourceAssembly> * seq<Microsoft.Extensions.DependencyModel.Dependency> * bool * string * string * string -> Microsoft.Extensions.DependencyModel.RuntimeLibrary
Public Sub New (type As String, name As String, version As String, hash As String, runtimeAssemblyGroups As IReadOnlyList(Of RuntimeAssetGroup), nativeLibraryGroups As IReadOnlyList(Of RuntimeAssetGroup), resourceAssemblies As IEnumerable(Of ResourceAssembly), dependencies As IEnumerable(Of Dependency), serviceable As Boolean, path As String, hashPath As String, runtimeStoreManifestName As String)

Параметры

type
String

Тип библиотеки.

name
String

Имя библиотеки.

version
String

Версия библиотеки.

hash
String

Хэш пакета библиотеки.

runtimeAssemblyGroups
IReadOnlyList<RuntimeAssetGroup>

Сборки среды выполнения библиотеки.

nativeLibraryGroups
IReadOnlyList<RuntimeAssetGroup>

Собственные библиотеки для библиотеки.

resourceAssemblies
IEnumerable<ResourceAssembly>

Сборки ресурсов библиотеки.

dependencies
IEnumerable<Dependency>

Зависимости библиотеки.

serviceable
Boolean

Является ли библиотека доступной для обслуживания.

path
String

Путь к пакету библиотеки.

hashPath
String

Хэш-путь пакета библиотеки.

runtimeStoreManifestName
String

Имя манифеста хранилища среды выполнения библиотеки.

Исключения

type или name или version или runtimeAssemblyGroups или nativeLibraryGroups или resourceAssemblies или dependencies — null.

Применяется к