GetDefaultValue Method
Definition
- Namespace
- Cuemon
- Assemblies
- Cuemon.Core.dll
GetDefaultValue(IDecorator<Type>)
Gets the default value from the underlying Type of the decorator.
public static object GetDefaultValue(this IDecorator<Type> decorator)
Parameters
decoratorIDecorator<Type>
Returns
Remarks
Usage is primarily intended for struct.
Exceptions
- ArgumentNullException
decoratorcannot be null.