C# Класс Encog.Persist.Location.FilePersistence

A persistence location based on a file.
Наследование: IPersistenceLocation
Показать файл Открыть проект

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

Метод Описание
CreateStream ( FileMode mode ) : Stream

Create a stream to a access the file.

Delete ( ) : void

Attempt to delete the file.

Exists ( ) : bool

Does the file exist?

FilePersistence ( String file ) : System

Construct a persistance location based on a file.

RenameTo ( IPersistenceLocation toLocation ) : void

Rename this file to a different location.

Описание методов

CreateStream() публичный Метод

Create a stream to a access the file.
public CreateStream ( FileMode mode ) : Stream
mode FileMode
Результат Stream

Delete() публичный Метод

Attempt to delete the file.
public Delete ( ) : void
Результат void

Exists() публичный Метод

Does the file exist?
public Exists ( ) : bool
Результат bool

FilePersistence() публичный Метод

Construct a persistance location based on a file.
public FilePersistence ( String file ) : System
file String The file to use.
Результат System

RenameTo() публичный Метод

Rename this file to a different location.
public RenameTo ( IPersistenceLocation toLocation ) : void
toLocation IPersistenceLocation What to rename to.
Результат void