C# 클래스 Microsoft.Extensions.ProjectModel.ProjectReader

파일 보기 프로젝트 열기: piotrpMSFT/cli-old 1 사용 예제들

공개 메소드들

메소드 설명
GetProject ( string projectFile ) : Microsoft.Extensions.ProjectModel.Project
GetProject ( string projectFile, ICollection diagnostics ) : Microsoft.Extensions.ProjectModel.Project
ReadProject ( Stream stream, string projectName, string projectPath, ICollection diagnostics ) : Microsoft.Extensions.ProjectModel.Project
TryGetProject ( string path, Microsoft.Extensions.ProjectModel.Project &project, ICollection diagnostics = null ) : bool

비공개 메소드들

메소드 설명
BuildTargetFrameworkNode ( Microsoft.Extensions.ProjectModel.Project project, string frameworkKey, Microsoft.Extensions.JsonParser.Sources.JsonObject frameworkValue ) : bool

Parse a Json object which represents project configuration for a specified framework

BuildTargetFrameworksAndConfigurations ( Microsoft.Extensions.ProjectModel.Project project, Microsoft.Extensions.JsonParser.Sources.JsonObject projectJsonObject, ICollection diagnostics ) : void
GetCompilationOptions ( Microsoft.Extensions.JsonParser.Sources.JsonObject rawObject ) : CommonCompilerOptions
HasProjectFile ( string path ) : bool
MakeDefaultTargetFrameworkDefine ( NuGet.Frameworks.NuGetFramework targetFramework ) : string
PopulateDependencies ( string projectPath, IList results, Microsoft.Extensions.JsonParser.Sources.JsonObject settings, string propertyName, bool isGacOrFrameworkReference ) : void
SpecifySnapshot ( string version, string snapshotValue ) : NuGet.Versioning.NuGetVersion
TryGetStringEnumerable ( Microsoft.Extensions.JsonParser.Sources.JsonObject parent, string property, IEnumerable &result ) : bool

메소드 상세

GetProject() 공개 정적인 메소드

public static GetProject ( string projectFile ) : Microsoft.Extensions.ProjectModel.Project
projectFile string
리턴 Microsoft.Extensions.ProjectModel.Project

GetProject() 공개 정적인 메소드

public static GetProject ( string projectFile, ICollection diagnostics ) : Microsoft.Extensions.ProjectModel.Project
projectFile string
diagnostics ICollection
리턴 Microsoft.Extensions.ProjectModel.Project

ReadProject() 공개 메소드

public ReadProject ( Stream stream, string projectName, string projectPath, ICollection diagnostics ) : Microsoft.Extensions.ProjectModel.Project
stream Stream
projectName string
projectPath string
diagnostics ICollection
리턴 Microsoft.Extensions.ProjectModel.Project

TryGetProject() 공개 정적인 메소드

public static TryGetProject ( string path, Microsoft.Extensions.ProjectModel.Project &project, ICollection diagnostics = null ) : bool
path string
project Microsoft.Extensions.ProjectModel.Project
diagnostics ICollection
리턴 bool