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

Inheritance: IDisposable
Afficher le fichier Open project: endjin/Endjin.Assembly.ChangeDetection Class Usage Examples

Protected Properties

Свойство Type Description
myAssemblyReferencesOfInterest HashSet
myPdbReader Endjin.Assembly.ChangeDetection.Introspection.PdbInformationReader

Méthodes publiques

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

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

public AddMatch ( AssemblyDefinition assembly ) : void
assembly Mono.Cecil.AssemblyDefinition
Résultat void

AddMatch() public méthode

public AddMatch ( FieldDefinition field, MatchContext context ) : void
field Mono.Cecil.FieldDefinition
context MatchContext
Résultat void

AddMatch() public méthode

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

AddMatch() public méthode

public AddMatch ( Mono.Cecil.TypeDefinition typeDef, MatchContext context ) : void
typeDef Mono.Cecil.TypeDefinition
context MatchContext
Résultat void

AddQuery() public méthode

public AddQuery ( UsageVisitor visitor ) : void
visitor UsageVisitor
Résultat void

AddVisitScope() public méthode

public AddVisitScope ( string dllName ) : void
dllName string
Résultat void

Analyze() public méthode

Analyzes the specified assembly.
public Analyze ( AssemblyDefinition assembly ) : void
assembly Mono.Cecil.AssemblyDefinition The assembly.
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

UsageQueryAggregator() public méthode

Aggregates the matches from usage queries.
public UsageQueryAggregator ( ) : System
Résultat System

UsageQueryAggregator() public méthode

public UsageQueryAggregator ( TypeQuery query ) : System
query TypeQuery
Résultat System

UsageQueryAggregator() public méthode

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

UsageQueryAggregator() public méthode

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

Property Details

myAssemblyReferencesOfInterest protected_oe property

protected HashSet myAssemblyReferencesOfInterest
Résultat HashSet

myPdbReader protected_oe property

protected PdbInformationReader,Endjin.Assembly.ChangeDetection.Introspection myPdbReader
Résultat Endjin.Assembly.ChangeDetection.Introspection.PdbInformationReader