Partager via


RuntimeLibrary Constructeurs

Définition

Surcharges

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

Initialise une nouvelle instance de la classe RuntimeLibrary à l’aide des propriétés de bibliothèque spécifiées.

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

Initialise une nouvelle instance de la classe RuntimeLibrary à l’aide des propriétés et chemins de bibliothèque spécifiés.

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

Initialise une nouvelle RuntimeLibrary.

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

Source:
RuntimeLibrary.cs
Source:
RuntimeLibrary.cs
Source:
RuntimeLibrary.cs
Source:
RuntimeLibrary.cs
Source:
RuntimeLibrary.cs

Initialise une nouvelle instance de la classe RuntimeLibrary à l’aide des propriétés de bibliothèque spécifiées.

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)

Paramètres

type
String

Type de la bibliothèque.

name
String

Nom de la bibliothèque.

version
String

Version de la bibliothèque.

hash
String

Hachage du package de bibliothèque.

runtimeAssemblyGroups
IReadOnlyList<RuntimeAssetGroup>

Assemblys runtime de la bibliothèque.

nativeLibraryGroups
IReadOnlyList<RuntimeAssetGroup>

Bibliothèques natives de la bibliothèque.

resourceAssemblies
IEnumerable<ResourceAssembly>

Assemblys de ressources de la bibliothèque.

dependencies
IEnumerable<Dependency>

Dépendances de la bibliothèque.

serviceable
Boolean

Indique si la bibliothèque est serviceable.

Exceptions

type, ou name, ou version est null ou une chaîne vide.

dependencies, ou runtimeAssemblyGroups, ou nativeLibraryGroups, ou resourceAssemblies est null.

S’applique à

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

Source:
RuntimeLibrary.cs
Source:
RuntimeLibrary.cs
Source:
RuntimeLibrary.cs
Source:
RuntimeLibrary.cs
Source:
RuntimeLibrary.cs

Initialise une nouvelle instance de la classe RuntimeLibrary à l’aide des propriétés et chemins de bibliothèque spécifiés.

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)

Paramètres

type
String

Type de la bibliothèque.

name
String

Nom de la bibliothèque.

version
String

Version de la bibliothèque.

hash
String

Hachage du package de bibliothèque.

runtimeAssemblyGroups
IReadOnlyList<RuntimeAssetGroup>

Assemblys runtime de la bibliothèque.

nativeLibraryGroups
IReadOnlyList<RuntimeAssetGroup>

Bibliothèques natives de la bibliothèque.

resourceAssemblies
IEnumerable<ResourceAssembly>

Assemblys de ressources de la bibliothèque.

dependencies
IEnumerable<Dependency>

Dépendances de la bibliothèque.

serviceable
Boolean

Indique si la bibliothèque est serviceable.

path
String

Chemin d’accès du package de bibliothèque.

hashPath
String

Chemin de hachage du package de bibliothèque.

Exceptions

type, ou name, ou version est null ou une chaîne vide.

dependencies, ou runtimeAssemblyGroups, ou nativeLibraryGroups, ou resourceAssemblies est null.

S’applique à

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

Source:
RuntimeLibrary.cs
Source:
RuntimeLibrary.cs
Source:
RuntimeLibrary.cs
Source:
RuntimeLibrary.cs
Source:
RuntimeLibrary.cs

Initialise une nouvelle 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)

Paramètres

type
String

Type de la bibliothèque.

name
String

Nom de la bibliothèque.

version
String

Version de la bibliothèque.

hash
String

Hachage du package de bibliothèque.

runtimeAssemblyGroups
IReadOnlyList<RuntimeAssetGroup>

Assemblys runtime de la bibliothèque.

nativeLibraryGroups
IReadOnlyList<RuntimeAssetGroup>

Bibliothèques natives de la bibliothèque.

resourceAssemblies
IEnumerable<ResourceAssembly>

Assemblys de ressources de la bibliothèque.

dependencies
IEnumerable<Dependency>

Dépendances de la bibliothèque.

serviceable
Boolean

Indique si la bibliothèque est serviceable.

path
String

Chemin d’accès du package de bibliothèque.

hashPath
String

Chemin de hachage du package de bibliothèque.

runtimeStoreManifestName
String

Nom du manifeste du magasin d’exécution de la bibliothèque.

Exceptions

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

S’applique à