CompilationLibrary 构造函数

定义

重载

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

使用指定的库属性初始化 CompilationLibrary 类的新实例。

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

使用指定的库属性和路径初始化 CompilationLibrary 类的新实例。

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

使用指定的库属性初始化 CompilationLibrary 类的新实例。

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)

参数

type
String

库的类型。

name
String

库的名称。

version
String

库的版本。

hash
String

库包的哈希。

assemblies
IEnumerable<String>

库的程序集。

dependencies
IEnumerable<Dependency>

库的依赖项。

serviceable
Boolean

库是否可服务。

例外

typenameversionnull 或空字符串。

dependenciesassembliesnull

适用于

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

使用指定的库属性和路径初始化 CompilationLibrary 类的新实例。

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)

参数

type
String

库的类型。

name
String

库的名称。

version
String

库的版本。

hash
String

库包的哈希。

assemblies
IEnumerable<String>

库的程序集。

dependencies
IEnumerable<Dependency>

库的依赖项。

serviceable
Boolean

库是否可服务。

path
String

库包的路径。

hashPath
String

库包的哈希路径。

例外

typenameversionnull 或空字符串。

dependenciesassembliesnull

适用于