C# Класс CodeGenerator.TypeExtensions

Показать файл Открыть проект

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

Метод Описание
GetGenericConstraintClause ( this type ) : string
GetGenericParameters ( this type, bool typeless = false ) : string
GetParameterDeclaration ( this pi, bool includeDefaultExpression ) : string
GetParameterGenericConstraintClause ( this type ) : string
GetPureName ( this type ) : string
GetSafeName ( this type ) : string
GetSpecialTypeName ( this type ) : string
GetSymbolDisplay ( this type, bool isFullName = false, bool typeless = false ) : string
GetValueLiteral ( this value ) : string
HasNonTrivialDefaultValue ( this pi ) : bool

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

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

public static GetGenericConstraintClause ( this type ) : string
type this
Результат string

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

public static GetGenericParameters ( this type, bool typeless = false ) : string
type this
typeless bool
Результат string

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

public static GetParameterDeclaration ( this pi, bool includeDefaultExpression ) : string
pi this
includeDefaultExpression bool
Результат string

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

public static GetParameterGenericConstraintClause ( this type ) : string
type this
Результат string

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

public static GetPureName ( this type ) : string
type this
Результат string

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

public static GetSafeName ( this type ) : string
type this
Результат string

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

public static GetSpecialTypeName ( this type ) : string
type this
Результат string

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

public static GetSymbolDisplay ( this type, bool isFullName = false, bool typeless = false ) : string
type this
isFullName bool
typeless bool
Результат string

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

public static GetValueLiteral ( this value ) : string
value this
Результат string

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

public static HasNonTrivialDefaultValue ( this pi ) : bool
pi this
Результат bool