WithDefaultValue(System.IConvertible)

Method in DeclarationBuilder

Summary

Sets the DefaultValue of the Declaration .

public DeclarationBuilder WithDefaultValue(System.IConvertible defaultValue)

Parameters

Name
Description

System.IConvertible defaultValue

The default value to apply to the Declaration.

Returns

The DeclarationBuilder instance that received this method call.

Last updated

Yarn Spinner® and Secret Lab® are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.