메소드 | 설명 | |
---|---|---|
AddType ( this scope, |
Adds the given type to the scope of used types.
|
|
AddTypes ( this scope, |
Adds all the exported (public) types in the given assembly to the scope of used types.
|
|
AddTypes ( this scope, IEnumerable |
Adds the given types to the scope of used types.
|
|
GetTypeName ( this scope, |
Gets the safe shortened name of a type that can be used in a given context, considering the already determined IStringlyScope.SafeImports, such as in code generation.
|
메소드 | 설명 | |
---|---|---|
SafeGenericTypeName ( |
If the type is a generic type, renders all the T's with the generic type definition name. Otherwise, returns just the type full name.
|
public static AddType ( this scope, |
||
scope | this | |
type | ||
리턴 | void |
public static AddTypes ( this scope, |
||
scope | this | |
assembly | ||
리턴 | void |
public static AddTypes ( this scope, IEnumerable |
||
scope | this | |
types | IEnumerable |
|
리턴 | void |
public static GetTypeName ( this scope, |
||
scope | this | |
type | ||
리턴 | string |