Parses the default value for properties. This can be overridden to provide custom default parsing logic.

Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public virtual void ParseDefaultValue(
	PropertyInfo targetProperty,
	string defaultValue
)
Visual Basic
Public Overridable Sub ParseDefaultValue ( 
	targetProperty As PropertyInfo,
	defaultValue As String
)

Parameters

targetProperty
Type: System.Reflection..::..PropertyInfo
Target property.
defaultValue
Type: System..::..String
Default value.

See Also