C# 클래스 Encog.Persist.Persistors.Generic.GenericPersistor

An Encog perisistor that can be used with any object that supports the Encog generic persistence. Simply provide the class to the constructor, and return an instance of this object in the getPersistor call. When loading an object, Encog will attempt to use this class if no other suitable persistor can be found.
상속: IPersistor
파일 보기 프로젝트 열기: encog/encog-silverlight-core

공개 메소드들

메소드 설명
GenericPersistor ( Type clazz ) : System

Construct a generic persistor for the specified class.

Load ( ReadXML xmlIn ) : IEncogPersistedObject

Load from the specified node.

Save ( IEncogPersistedObject obj, WriteXML xmlOut ) : void

Save the specified object.

메소드 상세

GenericPersistor() 공개 메소드

Construct a generic persistor for the specified class.
public GenericPersistor ( Type clazz ) : System
clazz System.Type The class to construct a persistor for.
리턴 System

Load() 공개 메소드

Load from the specified node.
public Load ( ReadXML xmlIn ) : IEncogPersistedObject
xmlIn Encog.Parse.Tags.Read.ReadXML The node to load from.
리턴 IEncogPersistedObject

Save() 공개 메소드

Save the specified object.
public Save ( IEncogPersistedObject obj, WriteXML xmlOut ) : void
obj IEncogPersistedObject The object to save.
xmlOut Encog.Parse.Tags.Write.WriteXML The XML object.
리턴 void