public Load ( |
||
xmlIn | The XML reader. | |
target | IEncogPersistedObject | The object to load. |
return | void |
/// <summary> /// Load from the specified node. /// </summary> /// <param name="xmlIn">The node to load from.</param> /// <returns>The EncogPersistedObject that was loaded.</returns> public IEncogPersistedObject Load(ReadXML xmlIn) { IEncogPersistedObject current; String c = ReflectionUtil.ResolveEncogClass(clazz.Name); current = (IEncogPersistedObject)Assembly.GetExecutingAssembly().CreateInstance(c); XML2Object conv = new XML2Object(); conv.Load(xmlIn, current); return current; }
/// <summary> /// Load from the specified node. /// </summary> /// <param name="xmlIn">The node to load from.</param> /// <returns>The EncogPersistedObject that was loaded.</returns> public IEncogPersistedObject Load(ReadXML xmlIn) { IEncogPersistedObject current; String c = ReflectionUtil.ResolveEncogClass(clazz.Name); current = (IEncogPersistedObject)Assembly.GetExecutingAssembly().CreateInstance(c); XML2Object conv = new XML2Object(); conv.Load(xmlIn, current); return(current); }