C# Класс NetFx.StringlyTyped.Stringly.StringlyScope

Наследование: IStringlyScope
Показать файл Открыть проект

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

Метод Описание
AddType ( string typeFullName ) : void
GetTypeName ( string fullName ) : string

Gets the name of the type that can be used in code generation, considering the already determined SafeImports.

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

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

From the type map, finds those namespaces that can be safely imported ("using" in C#) without causing type collisions among the type names in the map.

BuildSafeTypeNames ( ) : void

Searches the type map for potential simplifications to type names. All type names that are unique across all used namespaces are turned into their simple type name (without the namespace).

ClrToCSharpGeneric ( string typeName ) : string

Sanitizes the generics.

EnsureBuilt ( ) : void
ToSimpleName ( string type ) : string

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

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

public AddType ( string typeFullName ) : void
typeFullName string
Результат void

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

Gets the name of the type that can be used in code generation, considering the already determined SafeImports.
public GetTypeName ( string fullName ) : string
fullName string
Результат string