C# Класс Microsoft.SourceBrowser.HtmlGenerator.SolutionGenerator

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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