CompilationLibrary 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
库是否可服务。
例外
type
、name
或 version
为 null
或空字符串。
dependencies
或 assemblies
null
。
适用于
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
库包的哈希路径。
例外
type
、name
或 version
为 null
或空字符串。
dependencies
或 assemblies
null
。