C# Class Dia2Lib.DiaHelpers

Collection of extension methods that makes using DIA lib easier.
Show file Open project: southpolenator/WinDbgCs

Public Methods

Method Description
Enum ( this container ) : IEnumerable

Converts IDiaEnumSymbols container to IEnumerable.

GetAllBaseClasses ( this symbol ) : IEnumerable

Gets all base classes (including base classes of base classes).

GetBaseClasses ( this symbol ) : IEnumerable

Gets the base classes.

GetChild ( this symbol, string name, SymTagEnum tag = SymTagEnum.SymTagNull ) : IDiaSymbol

Gets the child symbol.

GetChildren ( this symbol, SymTagEnum tag = SymTagEnum.SymTagNull ) : IEnumerable

Gets the children.

GetChildrenWildcard ( this symbol, string nameWildcard, SymTagEnum tag = SymTagEnum.SymTagNull ) : IEnumerable

Gets the children using wildcard search: Applies a case-sensitive name match using asterisks (*) and question marks (?) as wildcards.

Method Details

Enum() public static method

Converts IDiaEnumSymbols container to IEnumerable.
public static Enum ( this container ) : IEnumerable
container this The container.
return IEnumerable

GetAllBaseClasses() public static method

Gets all base classes (including base classes of base classes).
public static GetAllBaseClasses ( this symbol ) : IEnumerable
symbol this The symbol.
return IEnumerable

GetBaseClasses() public static method

Gets the base classes.
public static GetBaseClasses ( this symbol ) : IEnumerable
symbol this The symbol.
return IEnumerable

GetChild() public static method

Gets the child symbol.
public static GetChild ( this symbol, string name, SymTagEnum tag = SymTagEnum.SymTagNull ) : IDiaSymbol
symbol this The symbol.
name string The name.
tag SymTagEnum The tag.
return IDiaSymbol

GetChildren() public static method

Gets the children.
public static GetChildren ( this symbol, SymTagEnum tag = SymTagEnum.SymTagNull ) : IEnumerable
symbol this The symbol.
tag SymTagEnum The tag.
return IEnumerable

GetChildrenWildcard() public static method

Gets the children using wildcard search: Applies a case-sensitive name match using asterisks (*) and question marks (?) as wildcards.
public static GetChildrenWildcard ( this symbol, string nameWildcard, SymTagEnum tag = SymTagEnum.SymTagNull ) : IEnumerable
symbol this The symbol.
nameWildcard string The name wildcard.
tag SymTagEnum The tag.
return IEnumerable