C# Class Endjin.Assembly.ChangeDetection.Query.UsageQueries.UsageQueryAggregator

Inheritance: IDisposable
Datei anzeigen Open project: endjin/Endjin.Assembly.ChangeDetection Class Usage Examples

Protected Properties

Property Type Description
myAssemblyReferencesOfInterest HashSet
myPdbReader Endjin.Assembly.ChangeDetection.Introspection.PdbInformationReader

Public Methods

Method Description
AddMatch ( AssemblyDefinition assembly ) : void
AddMatch ( FieldDefinition field, MatchContext context ) : void
AddMatch ( Instruction ins, Mono.Cecil.MethodDefinition method, bool bSearchForward, MatchContext context ) : void
AddMatch ( Mono.Cecil.TypeDefinition typeDef, MatchContext context ) : void
AddQuery ( UsageVisitor visitor ) : void
AddVisitScope ( string dllName ) : void
Analyze ( AssemblyDefinition assembly ) : void

Analyzes the specified assembly.

Clear ( ) : void
Dispose ( ) : void
UsageQueryAggregator ( ) : System

Aggregates the matches from usage queries.

UsageQueryAggregator ( TypeQuery query ) : System
UsageQueryAggregator ( bool bReadPdbs ) : System

Aggregates the matches from the usage queries.

UsageQueryAggregator ( string symbolServer ) : System

Aggregates the matches from the usage queries.

Private Methods

Method Description
AddMatch ( Mono.Cecil.MethodDefinition method, MatchContext context ) : void
GetResultWithFileLineIfEnabled ( Instruction ins, Mono.Cecil.MethodDefinition method, bool bSearchForward, MatchContext context ) : QueryResult

Gets the result with file line if enabled.

ModuleReferencesAssemblyOrSelf ( Mono.Cecil.ModuleDefinition module ) : bool
hasLoadedPdbInfos ( MethodBody body ) : bool

Method Details

AddMatch() public method

public AddMatch ( AssemblyDefinition assembly ) : void
assembly Mono.Cecil.AssemblyDefinition
return void

AddMatch() public method

public AddMatch ( FieldDefinition field, MatchContext context ) : void
field Mono.Cecil.FieldDefinition
context MatchContext
return void

AddMatch() public method

public AddMatch ( Instruction ins, Mono.Cecil.MethodDefinition method, bool bSearchForward, MatchContext context ) : void
ins Mono.Cecil.Cil.Instruction
method Mono.Cecil.MethodDefinition
bSearchForward bool
context MatchContext
return void

AddMatch() public method

public AddMatch ( Mono.Cecil.TypeDefinition typeDef, MatchContext context ) : void
typeDef Mono.Cecil.TypeDefinition
context MatchContext
return void

AddQuery() public method

public AddQuery ( UsageVisitor visitor ) : void
visitor UsageVisitor
return void

AddVisitScope() public method

public AddVisitScope ( string dllName ) : void
dllName string
return void

Analyze() public method

Analyzes the specified assembly.
public Analyze ( AssemblyDefinition assembly ) : void
assembly Mono.Cecil.AssemblyDefinition The assembly.
return void

Clear() public method

public Clear ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

UsageQueryAggregator() public method

Aggregates the matches from usage queries.
public UsageQueryAggregator ( ) : System
return System

UsageQueryAggregator() public method

public UsageQueryAggregator ( TypeQuery query ) : System
query TypeQuery
return System

UsageQueryAggregator() public method

Aggregates the matches from the usage queries.
public UsageQueryAggregator ( bool bReadPdbs ) : System
bReadPdbs bool if set to true [you get file and line information for the matches].
return System

UsageQueryAggregator() public method

Aggregates the matches from the usage queries.
public UsageQueryAggregator ( string symbolServer ) : System
symbolServer string /// To get file and line info the pdbs are read. If the pdb does not match it contacts the /// symbol server to look for matching pdb and downloads it. ///
return System

Property Details

myAssemblyReferencesOfInterest protected_oe property

protected HashSet myAssemblyReferencesOfInterest
return HashSet

myPdbReader protected_oe property

protected PdbInformationReader,Endjin.Assembly.ChangeDetection.Introspection myPdbReader
return Endjin.Assembly.ChangeDetection.Introspection.PdbInformationReader