MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeType­ExtensionsDefault­Value
Open sandboxFocus

TypeExtensions.DefaultValue Method

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
System.Object