C# Class Microsoft.SourceBrowser.BuildLogParser.LogAnalyzer

Mostrar archivo Open project: BlueMountainCapital/SourceBrowser Class Usage Examples

Public Properties

Property Type Description
ambiguousFinalDestinations List>.Dictionary
ambiguousInvocations CompilerInvocation>.MultiDictionary
assemblyNameToProjectFilePathsMap string>.MultiDictionary
cacheOfKnownExistingBinaries HashSet
intermediateAssemblyPathToOutputAssemblyPathMap string>.Dictionary
nonExistingReferencesToCompilerInvocationMap CompilerInvocation>.MultiDictionary

Public Methods

Method Description
AddMetadataAsSourceAssemblies ( List invocations ) : void
AddNonExistingReference ( CompilerInvocation compilerInvocation, string nonExistingReferenceFilePath ) : void
AnalyzeLogFile ( string logFile ) : IEnumerable
DisposeStatics ( ) : void
GetInvocations ( Options options = null, IEnumerable logFiles = null ) : IEnumerable
GetInvocations ( string logFilePath ) : IEnumerable
LogAnalyzer ( ) : System
SanityCheckAfterMetadataAsSource ( IEnumerable invocations, Options options = null ) : void
WriteInvocationsToFile ( IEnumerable invocations, string fileName ) : void

Private Methods

Method Description
AddAssemblyToMap ( string>.Dictionary assemblyNameToFilePathMap, string reference ) : void
AddInvocation ( string line, Action collector ) : void
AddTypeScriptInvocation ( string line, Action collector ) : void
AssignOutputAssemblyPath ( CompilerInvocation invocation ) : void
AssignProjectFilePath ( CompilerInvocation invocation ) : void
DumpNonExistingReferences ( ) : void
ExtractProjectFilePath ( string line, int start ) : string
FixOutputPaths ( LogAnalyzer analyzer ) : void
GetAssemblyNameFromProject ( string projectFilePath ) : string
GetAssemblyPaths ( IEnumerable invocations ) : IEnumerable
ProcessCopyingFileFrom ( string line ) : bool
ProcessDoneBuildingProject ( string line ) : bool
ProcessInvocation ( string line, Action collector ) : bool
ProcessLogFileLines ( string logFile ) : IEnumerable
SanityCheck ( LogAnalyzer analyzer, Options options = null ) : void
SelectFinalInvocation ( CompilerInvocation invocation ) : void
ShouldIncludeNotIndexedAssembly ( string binary, string assemblyName ) : bool

Method Details

AddMetadataAsSourceAssemblies() public static method

public static AddMetadataAsSourceAssemblies ( List invocations ) : void
invocations List
return void

AddNonExistingReference() public static method

public static AddNonExistingReference ( CompilerInvocation compilerInvocation, string nonExistingReferenceFilePath ) : void
compilerInvocation CompilerInvocation
nonExistingReferenceFilePath string
return void

AnalyzeLogFile() public method

public AnalyzeLogFile ( string logFile ) : IEnumerable
logFile string
return IEnumerable

DisposeStatics() public static method

public static DisposeStatics ( ) : void
return void

GetInvocations() public static method

public static GetInvocations ( Options options = null, IEnumerable logFiles = null ) : IEnumerable
options Options
logFiles IEnumerable
return IEnumerable

GetInvocations() public static method

public static GetInvocations ( string logFilePath ) : IEnumerable
logFilePath string
return IEnumerable

LogAnalyzer() public method

public LogAnalyzer ( ) : System
return System

SanityCheckAfterMetadataAsSource() public static method

public static SanityCheckAfterMetadataAsSource ( IEnumerable invocations, Options options = null ) : void
invocations IEnumerable
options Options
return void

WriteInvocationsToFile() public static method

public static WriteInvocationsToFile ( IEnumerable invocations, string fileName ) : void
invocations IEnumerable
fileName string
return void

Property Details

ambiguousFinalDestinations public_oe property

public Dictionary> ambiguousFinalDestinations
return List>.Dictionary

ambiguousInvocations public_oe static_oe property

public static MultiDictionary ambiguousInvocations
return CompilerInvocation>.MultiDictionary

assemblyNameToProjectFilePathsMap public_oe property

public MultiDictionary assemblyNameToProjectFilePathsMap
return string>.MultiDictionary

cacheOfKnownExistingBinaries public_oe static_oe property

public static HashSet cacheOfKnownExistingBinaries
return HashSet

intermediateAssemblyPathToOutputAssemblyPathMap public_oe property

public Dictionary intermediateAssemblyPathToOutputAssemblyPathMap
return string>.Dictionary

nonExistingReferencesToCompilerInvocationMap public_oe static_oe property

public static MultiDictionary nonExistingReferencesToCompilerInvocationMap
return CompilerInvocation>.MultiDictionary