C# 클래스 Microsoft.SourceBrowser.HtmlGenerator.SolutionGenerator

파일 보기 프로젝트 열기: KirillOsenkov/SourceBrowser 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CurrentAssemblyName string
PluginAggregator MEF.PluginAggregator

Private Properties

프로퍼티 타입 설명
AddAssemblyAttributesFile Microsoft.CodeAnalysis.Solution
AddSolutionProperties string>.ImmutableDictionary
CreateSolution Microsoft.CodeAnalysis.Solution
CreateSolution Microsoft.CodeAnalysis.Solution
CreateWorkspace MSBuildWorkspace
DisambiguateSameNameLinkedFiles Microsoft.CodeAnalysis.Solution
DisambiguateSameNameLinkedFiles Microsoft.CodeAnalysis.Solution
RemoveNonExistingDocuments Microsoft.CodeAnalysis.Solution
RemoveNonExistingFiles Microsoft.CodeAnalysis.Solution
RemoveNonExistingReferences Microsoft.CodeAnalysis.Solution
SetFieldValue void
SetupPluginAggregator void
WorkspaceFailed void

공개 메소드들

메소드 설명
AddTypeScriptFile ( string filePath ) : void
Dispose ( ) : void
Generate ( HashSet processedAssemblyList = null, Folder solutionExplorerRoot = null ) : bool
GenerateExternalReferences ( HashSet assemblyList ) : void
GetAssemblyNames ( ) : IEnumerable
GetExternalAssemblyIndex ( string assemblyName ) : int
IsPartOfSolution ( string assemblyName ) : bool
SolutionGenerator ( string solutionFilePath, string solutionDestinationFolder, string serverPath = null, string>.ImmutableDictionary properties = null, Federation federation = null, string>.IReadOnlyDictionary serverPathMappings = null ) : System
SolutionGenerator ( string projectFilePath, string commandLineArguments, string outputAssemblyPath, string solutionSourceFolder, string solutionDestinationFolder, string serverPath, string networkShare ) : System

비공개 메소드들

메소드 설명
AddAssemblyAttributesFile ( string language, string outputAssemblyPath, Microsoft.CodeAnalysis.Solution solution ) : Microsoft.CodeAnalysis.Solution
AddSolutionProperties ( string>.ImmutableDictionary properties, string solutionFilePath ) : string>.ImmutableDictionary
CreateSolution ( string solutionFilePath, string>.ImmutableDictionary properties = null ) : Microsoft.CodeAnalysis.Solution
CreateSolution ( string commandLineArguments, string projectName, string language, string projectSourceFolder, string outputAssemblyPath ) : Microsoft.CodeAnalysis.Solution
CreateWorkspace ( string>.ImmutableDictionary propertiesOpt = null ) : MSBuildWorkspace
DisambiguateSameNameLinkedFiles ( Microsoft.CodeAnalysis.Project project ) : Microsoft.CodeAnalysis.Solution

If there are two linked files both outside the project cone, and they have same names, they will logically appear as the same file in the project root. To disambiguate, we remove both files from the project's root and re-add them each into a folder chain that is formed from the full path of each document.

DisambiguateSameNameLinkedFiles ( Microsoft.CodeAnalysis.Solution solution ) : Microsoft.CodeAnalysis.Solution
RemoveNonExistingDocuments ( Microsoft.CodeAnalysis.Project project ) : Microsoft.CodeAnalysis.Solution
RemoveNonExistingFiles ( Microsoft.CodeAnalysis.Solution solution ) : Microsoft.CodeAnalysis.Solution
RemoveNonExistingReferences ( Microsoft.CodeAnalysis.Project project ) : Microsoft.CodeAnalysis.Solution
SetFieldValue ( object instance, string fieldName, object value ) : void
SetupPluginAggregator ( ) : void
WorkspaceFailed ( object sender, WorkspaceDiagnosticEventArgs e ) : void

메소드 상세

AddTypeScriptFile() 공개 메소드

public AddTypeScriptFile ( string filePath ) : void
filePath string
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Generate() 공개 메소드

public Generate ( HashSet processedAssemblyList = null, Folder solutionExplorerRoot = null ) : bool
processedAssemblyList HashSet
solutionExplorerRoot Folder
리턴 bool

GenerateExternalReferences() 공개 메소드

public GenerateExternalReferences ( HashSet assemblyList ) : void
assemblyList HashSet
리턴 void

GetAssemblyNames() 공개 메소드

public GetAssemblyNames ( ) : IEnumerable
리턴 IEnumerable

GetExternalAssemblyIndex() 공개 메소드

public GetExternalAssemblyIndex ( string assemblyName ) : int
assemblyName string
리턴 int

IsPartOfSolution() 공개 메소드

public IsPartOfSolution ( string assemblyName ) : bool
assemblyName string
리턴 bool

SolutionGenerator() 공개 메소드

public SolutionGenerator ( string solutionFilePath, string solutionDestinationFolder, string serverPath = null, string>.ImmutableDictionary properties = null, Federation federation = null, string>.IReadOnlyDictionary serverPathMappings = null ) : System
solutionFilePath string
solutionDestinationFolder string
serverPath string
properties string>.ImmutableDictionary
federation Federation
serverPathMappings string>.IReadOnlyDictionary
리턴 System

SolutionGenerator() 공개 메소드

public SolutionGenerator ( string projectFilePath, string commandLineArguments, string outputAssemblyPath, string solutionSourceFolder, string solutionDestinationFolder, string serverPath, string networkShare ) : System
projectFilePath string
commandLineArguments string
outputAssemblyPath string
solutionSourceFolder string
solutionDestinationFolder string
serverPath string
networkShare string
리턴 System

프로퍼티 상세

CurrentAssemblyName 공개적으로 정적으로 프로퍼티

public static string CurrentAssemblyName
리턴 string

PluginAggregator 공개적으로 프로퍼티

public MEF.PluginAggregator PluginAggregator
리턴 MEF.PluginAggregator