RuntimeLibrary Construtores

Definição

Sobrecargas

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

Inicializa uma nova instância da classe RuntimeLibrary usando as propriedades de biblioteca especificadas.

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

Inicializa uma nova instância da classe RuntimeLibrary usando as propriedades e o caminho da biblioteca especificados.

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

Inicializa um novo RuntimeLibrary.

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

Origem:
RuntimeLibrary.cs
Origem:
RuntimeLibrary.cs
Origem:
RuntimeLibrary.cs
Origem:
RuntimeLibrary.cs
Origem:
RuntimeLibrary.cs

Inicializa uma nova instância da classe RuntimeLibrary usando as propriedades de biblioteca especificadas.

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)

Parâmetros

type
String

O tipo da biblioteca.

name
String

O nome da biblioteca.

version
String

A versão da biblioteca.

hash
String

O hash do pacote de biblioteca.

runtimeAssemblyGroups
IReadOnlyList<RuntimeAssetGroup>

Os assemblies de runtime da biblioteca.

nativeLibraryGroups
IReadOnlyList<RuntimeAssetGroup>

As bibliotecas nativas da biblioteca.

resourceAssemblies
IEnumerable<ResourceAssembly>

Os assemblies de recursos da biblioteca.

dependencies
IEnumerable<Dependency>

As dependências da biblioteca.

serviceable
Boolean

Se a biblioteca pode ser atendida.

Exceções

type, ou nameou version é null ou uma cadeia de caracteres vazia.

dependencies, ou runtimeAssemblyGroups, ou nativeLibraryGroupsou resourceAssemblies é null.

Aplica-se a

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

Origem:
RuntimeLibrary.cs
Origem:
RuntimeLibrary.cs
Origem:
RuntimeLibrary.cs
Origem:
RuntimeLibrary.cs
Origem:
RuntimeLibrary.cs

Inicializa uma nova instância da classe RuntimeLibrary usando as propriedades e o caminho da biblioteca especificados.

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)

Parâmetros

type
String

O tipo da biblioteca.

name
String

O nome da biblioteca.

version
String

A versão da biblioteca.

hash
String

O hash do pacote de biblioteca.

runtimeAssemblyGroups
IReadOnlyList<RuntimeAssetGroup>

Os assemblies de runtime da biblioteca.

nativeLibraryGroups
IReadOnlyList<RuntimeAssetGroup>

As bibliotecas nativas da biblioteca.

resourceAssemblies
IEnumerable<ResourceAssembly>

Os assemblies de recursos da biblioteca.

dependencies
IEnumerable<Dependency>

As dependências da biblioteca.

serviceable
Boolean

Se a biblioteca pode ser atendida.

path
String

O caminho do pacote de biblioteca.

hashPath
String

O caminho de hash do pacote de biblioteca.

Exceções

type, ou nameou version é null ou uma cadeia de caracteres vazia.

dependencies, ou runtimeAssemblyGroups, ou nativeLibraryGroupsou resourceAssemblies é null.

Aplica-se a

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

Origem:
RuntimeLibrary.cs
Origem:
RuntimeLibrary.cs
Origem:
RuntimeLibrary.cs
Origem:
RuntimeLibrary.cs
Origem:
RuntimeLibrary.cs

Inicializa um novo 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)

Parâmetros

type
String

O tipo da biblioteca.

name
String

O nome da biblioteca.

version
String

A versão da biblioteca.

hash
String

O hash do pacote de biblioteca.

runtimeAssemblyGroups
IReadOnlyList<RuntimeAssetGroup>

Os assemblies de runtime da biblioteca.

nativeLibraryGroups
IReadOnlyList<RuntimeAssetGroup>

As bibliotecas nativas da biblioteca.

resourceAssemblies
IEnumerable<ResourceAssembly>

Os assemblies de recursos da biblioteca.

dependencies
IEnumerable<Dependency>

As dependências da biblioteca.

serviceable
Boolean

Se a biblioteca pode ser atendida.

path
String

O caminho do pacote de biblioteca.

hashPath
String

O caminho de hash do pacote de biblioteca.

runtimeStoreManifestName
String

O nome do manifesto do repositório de runtime da biblioteca.

Exceções

type, ou name, ou version, ou runtimeAssemblyGroups, ou nativeLibraryGroups, ou resourceAssemblies ou dependencies é null.

Aplica-se a