Editar

Compartilhar via


CompilationLibrary Constructors

Definition

Overloads

CompilationLibrary(String, String, String, String, IEnumerable<String>, IEnumerable<Dependency>, Boolean)

Initializes a new instance of the CompilationLibrary class using the specified library properties.

CompilationLibrary(String, String, String, String, IEnumerable<String>, IEnumerable<Dependency>, Boolean, String, String)

Initializes a new instance of the CompilationLibrary class using the specified library properties and path.

CompilationLibrary(String, String, String, String, IEnumerable<String>, IEnumerable<Dependency>, Boolean)

Source:
CompilationLibrary.cs
Source:
CompilationLibrary.cs
Source:
CompilationLibrary.cs
Source:
CompilationLibrary.cs
Source:
CompilationLibrary.cs

Initializes a new instance of the CompilationLibrary class using the specified library properties.

public:
 CompilationLibrary(System::String ^ type, System::String ^ name, System::String ^ version, System::String ^ hash, System::Collections::Generic::IEnumerable<System::String ^> ^ assemblies, System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyModel::Dependency> ^ dependencies, bool serviceable);
public CompilationLibrary (string type, string name, string version, string? hash, System.Collections.Generic.IEnumerable<string> assemblies, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.Dependency> dependencies, bool serviceable);
new Microsoft.Extensions.DependencyModel.CompilationLibrary : string * string * string * string * seq<string> * seq<Microsoft.Extensions.DependencyModel.Dependency> * bool -> Microsoft.Extensions.DependencyModel.CompilationLibrary
Public Sub New (type As String, name As String, version As String, hash As String, assemblies As IEnumerable(Of String), dependencies As IEnumerable(Of Dependency), serviceable As Boolean)

Parameters

type
String

The library's type.

name
String

The library's name.

version
String

The library's version.

hash
String

The library package's hash.

assemblies
IEnumerable<String>

The library's assemblies.

dependencies
IEnumerable<Dependency>

The library's dependencies.

serviceable
Boolean

Whether the library is serviceable.

Exceptions

type, or name, or version is null or an empty string.

dependencies or assemblies is null.

Applies to

CompilationLibrary(String, String, String, String, IEnumerable<String>, IEnumerable<Dependency>, Boolean, String, String)

Source:
CompilationLibrary.cs
Source:
CompilationLibrary.cs
Source:
CompilationLibrary.cs
Source:
CompilationLibrary.cs
Source:
CompilationLibrary.cs

Initializes a new instance of the CompilationLibrary class using the specified library properties and path.

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

Parameters

type
String

The library's type.

name
String

The library's name.

version
String

The library's version.

hash
String

The library package's hash.

assemblies
IEnumerable<String>

The library's assemblies.

dependencies
IEnumerable<Dependency>

The library's dependencies.

serviceable
Boolean

Whether the library is serviceable.

path
String

The library package's path.

hashPath
String

The library package's hash path.

Exceptions

type, or name, or version is null or an empty string.

dependencies or assemblies is null.

Applies to