C# Класс Dia2Lib.DiaHelpers

Collection of extension methods that makes using DIA lib easier.
Показать файл Открыть проект

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

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

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

Enum() публичный статический Метод

Converts IDiaEnumSymbols container to IEnumerable.
public static Enum ( this container ) : IEnumerable
container this The container.
Результат IEnumerable

GetAllBaseClasses() публичный статический Метод

Gets all base classes (including base classes of base classes).
public static GetAllBaseClasses ( this symbol ) : IEnumerable
symbol this The symbol.
Результат IEnumerable

GetBaseClasses() публичный статический Метод

Gets the base classes.
public static GetBaseClasses ( this symbol ) : IEnumerable
symbol this The symbol.
Результат IEnumerable

GetChild() публичный статический Метод

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.
Результат IDiaSymbol

GetChildren() публичный статический Метод

Gets the children.
public static GetChildren ( this symbol, SymTagEnum tag = SymTagEnum.SymTagNull ) : IEnumerable
symbol this The symbol.
tag SymTagEnum The tag.
Результат IEnumerable

GetChildrenWildcard() публичный статический Метод

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.
Результат IEnumerable