C# 클래스 Encog.Persist.Location.StreamPersistence

Create a location based on a Stream.
상속: IPersistenceLocation
파일 보기 프로젝트 열기: encog/encog-silverlight-core

공개 메소드들

메소드 설명
CreateStream ( FileMode mode ) : Stream

The stream to use.

Delete ( ) : void

Attempt to delete the file. Will fail for this location type.

Exists ( ) : bool

Does the file exist? This is always true for this location type.

RenameTo ( IPersistenceLocation toLocation ) : void

Rename this file to a different location.

StreamPersistence ( Stream stream ) : System

Construct a persistance location based on a stream.

메소드 상세

CreateStream() 공개 메소드

The stream to use.
public CreateStream ( FileMode mode ) : Stream
mode FileMode
리턴 Stream

Delete() 공개 메소드

Attempt to delete the file. Will fail for this location type.
public Delete ( ) : void
리턴 void

Exists() 공개 메소드

Does the file exist? This is always true for this location type.
public Exists ( ) : bool
리턴 bool

RenameTo() 공개 메소드

Rename this file to a different location.
public RenameTo ( IPersistenceLocation toLocation ) : void
toLocation IPersistenceLocation What to rename to.
리턴 void

StreamPersistence() 공개 메소드

Construct a persistance location based on a stream.
public StreamPersistence ( Stream stream ) : System
stream Stream The stream to use.
리턴 System