C# Класс ReferenceAnalysisAlgorithm.ReferenceFinder, DailyProjects

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

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

Свойство Тип Описание
LogError Action
LogInfo Action

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

FindReferences() публичный Метод

public FindReferences ( object targetObj, Action callback ) : void
targetObj object
callback Action
Результат void

FindReferences() публичный Метод

public FindReferences ( object targetObj, IEnumerable assemblys, Action callback ) : void
targetObj object
assemblys IEnumerable
callback Action
Результат void

FindReferences() публичный Метод

public FindReferences ( object targetObj, object>.IEnumerable roots, Action callback ) : void
targetObj object
roots object>.IEnumerable
callback Action
Результат void

ReferenceFinder() публичный Метод

public ReferenceFinder ( TypeGraph graph ) : System
graph TypeGraph
Результат System

Описание свойств

LogError публичное свойство

public Action LogError
Результат Action

LogInfo публичное свойство

public Action LogInfo
Результат Action