C# 클래스 NetFx.StringlyTyped.Stringly.StringlyScope

상속: IStringlyScope
파일 보기 프로젝트 열기: netfx/extensions

공개 메소드들

메소드 설명
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