C# Класс CsDebugScript.CodeGen.SymbolNameHelper

Helper functions that aid with symbol name string manipulations.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ContainsTemplateType ( string symbolName ) : bool

Determines whether the specified symbol name contains template type.

CreateLookupNameForSymbol ( Symbol symbol ) : string

Creates the lookup name for the specified symbol. This helps grouping template symbols together.

GetSymbolNamespaces ( string symbolName ) : List

Get list of symbol namespaces separated by '::'. Namespace includes full name.

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

Метод Описание
CreateLookupForNamespace ( string namespaceSymbol ) : string

Creates the lookup for single namespace.

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

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

Determines whether the specified symbol name contains template type.
public static ContainsTemplateType ( string symbolName ) : bool
symbolName string The symbol name.
Результат bool

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

Creates the lookup name for the specified symbol. This helps grouping template symbols together.
public static CreateLookupNameForSymbol ( Symbol symbol ) : string
symbol Symbol The symbol.
Результат string

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

Get list of symbol namespaces separated by '::'. Namespace includes full name.
public static GetSymbolNamespaces ( string symbolName ) : List
symbolName string The symbol name.
Результат List