Library Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
Library(String, String, String, String, IEnumerable<Dependency>, Boolean) |
Initialise une nouvelle instance de la classe Library à l’aide des propriétés de bibliothèque spécifiées. |
Library(String, String, String, String, IEnumerable<Dependency>, Boolean, String, String) |
Initialise une nouvelle instance de la classe Library à l’aide des propriétés et chemins de bibliothèque spécifiés. |
Library(String, String, String, String, IEnumerable<Dependency>, Boolean, String, String, String) |
Initialise une nouvelle instance de la classe Library à l’aide des propriétés de bibliothèque, du chemin d’accès et du manifeste de magasin d’exécution spécifiés. |
Library(String, String, String, String, IEnumerable<Dependency>, Boolean)
- Source:
- Library.cs
- Source:
- Library.cs
- Source:
- Library.cs
- Source:
- Library.cs
- Source:
- Library.cs
Initialise une nouvelle instance de la classe Library à l’aide des propriétés de bibliothèque spécifiées.
public:
Library(System::String ^ type, System::String ^ name, System::String ^ version, System::String ^ hash, System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyModel::Dependency> ^ dependencies, bool serviceable);
public Library (string type, string name, string version, string? hash, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.Dependency> dependencies, bool serviceable);
new Microsoft.Extensions.DependencyModel.Library : string * string * string * string * seq<Microsoft.Extensions.DependencyModel.Dependency> * bool -> Microsoft.Extensions.DependencyModel.Library
Public Sub New (type As String, name As String, version As String, hash As String, 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.
- dependencies
- IEnumerable<Dependency>
Dépendances de la bibliothèque.
- serviceable
- Boolean
Indique si la bibliothèque est serviceable.
S’applique à
Library(String, String, String, String, IEnumerable<Dependency>, Boolean, String, String)
- Source:
- Library.cs
- Source:
- Library.cs
- Source:
- Library.cs
- Source:
- Library.cs
- Source:
- Library.cs
Initialise une nouvelle instance de la classe Library à l’aide des propriétés et chemins de bibliothèque spécifiés.
public:
Library(System::String ^ type, System::String ^ name, System::String ^ version, System::String ^ hash, System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyModel::Dependency> ^ dependencies, bool serviceable, System::String ^ path, System::String ^ hashPath);
public Library (string type, string name, string version, string? hash, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.Dependency> dependencies, bool serviceable, string? path, string? hashPath);
new Microsoft.Extensions.DependencyModel.Library : string * string * string * string * seq<Microsoft.Extensions.DependencyModel.Dependency> * bool * string * string -> Microsoft.Extensions.DependencyModel.Library
Public Sub New (type As String, name As String, version As String, hash As String, 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.
- 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
est null
.
S’applique à
Library(String, String, String, String, IEnumerable<Dependency>, Boolean, String, String, String)
- Source:
- Library.cs
- Source:
- Library.cs
- Source:
- Library.cs
- Source:
- Library.cs
- Source:
- Library.cs
Initialise une nouvelle instance de la classe Library à l’aide des propriétés de bibliothèque, du chemin d’accès et du manifeste de magasin d’exécution spécifiés.
public Library (string type, string name, string version, string? hash, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.Dependency> dependencies, bool serviceable, string? path, string? hashPath, string? runtimeStoreManifestName = default);
new Microsoft.Extensions.DependencyModel.Library : string * string * string * string * seq<Microsoft.Extensions.DependencyModel.Dependency> * bool * string * string * string -> Microsoft.Extensions.DependencyModel.Library
Public Sub New (type As String, name As String, version As String, hash As String, dependencies As IEnumerable(Of Dependency), serviceable As Boolean, path As String, hashPath As String, Optional runtimeStoreManifestName As String = Nothing)
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.
- 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
est null
ou une chaîne vide.
dependencies
est null
.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour