Delegate XFactory.GenByXElementDelegate
Delegate for generating objects from XML elements with relative file path.
public delegate object XFactory.GenByXElementDelegate(XElement src, string baseDirectory, string relFile, object[] res)
Parameters
srcXElementThe source XML element
baseDirectorystringThe base directory for resolving paths
relFilestringThe relative file path
resobject[]Additional parameters for generation
Returns
- object
The generated object
- Extension Methods
Remarks
Note that the design pattern of seperating BaseDirectory and RelativePath is for easy data package moving. The pattern assume the BaseDirectory can be changed if all the content in the BaseDirectory is changed to the destinate directory.