This method will be used to restore the property value after a template has been compiled.
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
Object LoadProperty( PropertySerializerContext context, Object propertyValue ) |
Visual Basic |
---|
Function LoadProperty ( context As PropertySerializerContext, propertyValue As Object ) As Object |
Parameters
- context
- Type: CodeSmith.Engine..::..PropertySerializerContext
Context information of the target property.
- propertyValue
- Type: System..::..Object
The property to be loaded.
Return Value
Type: ObjectThe value to be assigned to the template property after it has been compiled.