C# Класс UnityHeapEx.HeapDump

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

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

Свойство Тип Описание
SkipEmptyTypes bool

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

Метод Описание
DumpToXml ( ) : void

Collect all roots, i.e. static fields in all classes and all scripts; then dump all object hierarchy reachable from these roots to file

GatherFromRootRecursively ( object root, string depth ) : int

Works through all fields of an object, dumpoing them into xml

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

Метод Описание
DoStuff ( ) : void
GetTotalLength ( Array val ) : int
ReportField ( object root, string depth, FieldInfo fieldInfo ) : int

Dumps info on the field in xml. Provides some rough estimate on size taken by its contents, and recursively enumerates fields if this one contains an object reference.

WriteUnityObjectData ( string depth, Object uo, bool seen ) : void

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

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

Collect all roots, i.e. static fields in all classes and all scripts; then dump all object hierarchy reachable from these roots to file
public DumpToXml ( ) : void
Результат void

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

Works through all fields of an object, dumpoing them into xml
public GatherFromRootRecursively ( object root, string depth ) : int
root object
depth string
Результат int

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

SkipEmptyTypes публичное статическое свойство

public static bool SkipEmptyTypes
Результат bool