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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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