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

A location that allows Encog objects to be read from a resource. This location only supports read operations, so the Encog resource is usually created first as a file and then embedded in the application as a resource.
상속: IPersistenceLocation
파일 보기 프로젝트 열기: encog/encog-silverlight-core 1 사용 예제들

공개 메소드들

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

Create a stream to read the resource.

Delete ( ) : void

Delete operations are not supported for resource persistence.

Exists ( ) : bool

Exist is not supported for resource persistence.

LoadString ( ) : String

Load a string.

RenameTo ( IPersistenceLocation toLocation ) : void

Rename is not supported for resource persistence.

ResourcePersistence ( String resource ) : System

Construct a location to read from the specified resource.

메소드 상세

CreateStream() 공개 메소드

Create a stream to read the resource.
public CreateStream ( FileMode mode ) : Stream
mode FileMode
리턴 Stream

Delete() 공개 메소드

Delete operations are not supported for resource persistence.
public Delete ( ) : void
리턴 void

Exists() 공개 메소드

Exist is not supported for resource persistence.
public Exists ( ) : bool
리턴 bool

LoadString() 공개 메소드

Load a string.
public LoadString ( ) : String
리턴 String

RenameTo() 공개 메소드

Rename is not supported for resource persistence.
public RenameTo ( IPersistenceLocation toLocation ) : void
toLocation IPersistenceLocation Not used.
리턴 void

ResourcePersistence() 공개 메소드

Construct a location to read from the specified resource.
public ResourcePersistence ( String resource ) : System
resource String The resource to read from.
리턴 System