C# Class ReferenceAnalysisAlgorithm.ReferenceFinder, DailyProjects

Afficher le fichier Open project: GHScan/DailyProjects Class Usage Examples

Méthodes publiques

Свойство Type Description
LogError Action
LogInfo Action

Méthodes publiques

Méthode Description
FindReferences ( object targetObj, Action callback ) : void
FindReferences ( object targetObj, IEnumerable assemblys, Action callback ) : void
FindReferences ( object targetObj, object>.IEnumerable roots, Action callback ) : void
ReferenceFinder ( TypeGraph graph ) : System

Private Methods

Méthode Description
FindReferencesRecursively ( List path, object obj, object targetObj, HashSet findCache, Action callback ) : void
FlushErrorLog ( ) : void
LogException ( string ctx, Exception e ) : void
PathToString ( IEnumerable path ) : string
TryGetFieldValue ( IEnumerable path, object o, FieldInfo field ) : object
TryGetMemberValue ( IEnumerable path, object o, object>.Func accessor ) : object
TryGetPropertyValue ( IEnumerable path, object o, PropertyInfo prop ) : object

Method Details

FindReferences() public méthode

public FindReferences ( object targetObj, Action callback ) : void
targetObj object
callback Action
Résultat void

FindReferences() public méthode

public FindReferences ( object targetObj, IEnumerable assemblys, Action callback ) : void
targetObj object
assemblys IEnumerable
callback Action
Résultat void

FindReferences() public méthode

public FindReferences ( object targetObj, object>.IEnumerable roots, Action callback ) : void
targetObj object
roots object>.IEnumerable
callback Action
Résultat void

ReferenceFinder() public méthode

public ReferenceFinder ( TypeGraph graph ) : System
graph TypeGraph
Résultat System

Property Details

LogError public_oe property

public Action LogError
Résultat Action

LogInfo public_oe property

public Action LogInfo
Résultat Action