C# Class Microsoft.SourceBrowser.HtmlGenerator.SolutionGenerator

Afficher le fichier Open project: KirillOsenkov/SourceBrowser Class Usage Examples

Méthodes publiques

Свойство Type Description
CurrentAssemblyName string
PluginAggregator MEF.PluginAggregator

Private Properties

Свойство Type Description
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

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

AddTypeScriptFile() public méthode

public AddTypeScriptFile ( string filePath ) : void
filePath string
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Generate() public méthode

public Generate ( HashSet processedAssemblyList = null, Folder solutionExplorerRoot = null ) : bool
processedAssemblyList HashSet
solutionExplorerRoot Folder
Résultat bool

GenerateExternalReferences() public méthode

public GenerateExternalReferences ( HashSet assemblyList ) : void
assemblyList HashSet
Résultat void

GetAssemblyNames() public méthode

public GetAssemblyNames ( ) : IEnumerable
Résultat IEnumerable

GetExternalAssemblyIndex() public méthode

public GetExternalAssemblyIndex ( string assemblyName ) : int
assemblyName string
Résultat int

IsPartOfSolution() public méthode

public IsPartOfSolution ( string assemblyName ) : bool
assemblyName string
Résultat bool

SolutionGenerator() public méthode

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
Résultat System

SolutionGenerator() public méthode

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
Résultat System

Property Details

CurrentAssemblyName public_oe static_oe property

public static string CurrentAssemblyName
Résultat string

PluginAggregator public_oe property

public MEF.PluginAggregator PluginAggregator
Résultat MEF.PluginAggregator