Prototype Property (GoXmlBindingTransformer)
Gets or sets the object which will be copied and initialized
when consuming an XML element with this transformer.
public object Prototype {get; set;}
Property Value
The value should either be a
GoObject
or
GoDocument
or implement
ICloneable
. This will be set in the constructor, and should not be replaced during generation or consumption. When the prototype is a
Northwoods.Go.GoDocument and is the root, this transformer is used in a special manner to support binding document properties to root attributes. The documentation for
GoXmlBindingTransformer Constructor(String,Object) provides more details.