C# Class CodeGenerator.TypeExtensions

Show file Open project: SaladLab/Akka.Interfaced

Public Methods

Method Description
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

Method Details

GetGenericConstraintClause() public static method

public static GetGenericConstraintClause ( this type ) : string
type this
return string

GetGenericParameters() public static method

public static GetGenericParameters ( this type, bool typeless = false ) : string
type this
typeless bool
return string

GetParameterDeclaration() public static method

public static GetParameterDeclaration ( this pi, bool includeDefaultExpression ) : string
pi this
includeDefaultExpression bool
return string

GetParameterGenericConstraintClause() public static method

public static GetParameterGenericConstraintClause ( this type ) : string
type this
return string

GetPureName() public static method

public static GetPureName ( this type ) : string
type this
return string

GetSafeName() public static method

public static GetSafeName ( this type ) : string
type this
return string

GetSpecialTypeName() public static method

public static GetSpecialTypeName ( this type ) : string
type this
return string

GetSymbolDisplay() public static method

public static GetSymbolDisplay ( this type, bool isFullName = false, bool typeless = false ) : string
type this
isFullName bool
typeless bool
return string

GetValueLiteral() public static method

public static GetValueLiteral ( this value ) : string
value this
return string

HasNonTrivialDefaultValue() public static method

public static HasNonTrivialDefaultValue ( this pi ) : bool
pi this
return bool