Metalama / / API Documentation / Aspect API / Metalama.​Framework.​Code / Type­Extensions / Default­Value
Open sandbox

Method DefaultValue

DefaultValue(IType)

Generates the default(T) syntax for the type.

Declaration
public static dynamic DefaultValue(this IType type)
Parameters
Type Name Description
IType type
Returns
Type Description
Object