DependencyDescription 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
DependencyDescription(System::String ^ name, System::String ^ version, System::String ^ path, System::String ^ targetFramework, Microsoft::VisualStudio::Web::CodeGeneration::Contracts::ProjectModel::DependencyType type, bool resolved);
public DependencyDescription(string name, string version, string path, string targetFramework, Microsoft.VisualStudio.Web.CodeGeneration.Contracts.ProjectModel.DependencyType type, bool resolved);
new Microsoft.VisualStudio.Web.CodeGeneration.Contracts.ProjectModel.DependencyDescription : string * string * string * string * Microsoft.VisualStudio.Web.CodeGeneration.Contracts.ProjectModel.DependencyType * bool -> Microsoft.VisualStudio.Web.CodeGeneration.Contracts.ProjectModel.DependencyDescription
Public Sub New (name As String, version As String, path As String, targetFramework As String, type As DependencyType, resolved As Boolean)
參數
- name
- String
相依性的名稱。
- version
- String
相依性的版本。
- path
- String
相依性的完整路徑。
- targetFramework
- String
此相依性所屬專案的 TFM。
- type
- DependencyType
相依性的類型。 DependencyType
- resolved
- Boolean
指出是否在磁片上解析此相依性。