C# Класс Dev2.Studio.Core.InterfaceImplementors.DirectoryPersistenceProvider

A directory persistence provider.
Наследование: IDirectoryPersistenceProvider
Показать файл Открыть проект

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

Метод Описание
Delete ( string fileName ) : void

Deletes the specified file.

Read ( ) : IEnumerable

Gets an enumeration of all content from the files in DirectoryPath.

Read ( string fileName ) : string

Reads the contents of the specified file.

Write ( string fileName, string data ) : void

Writes the given data to a text file.

Приватные методы

Метод Описание
GetFilePath ( string containerName ) : string

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

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

Deletes the specified file.
public Delete ( string fileName ) : void
fileName string The name of the file to be deleted excluding extension.
Результат void

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

Gets an enumeration of all content from the files in DirectoryPath.
public Read ( ) : IEnumerable
Результат IEnumerable

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

Reads the contents of the specified file.
public Read ( string fileName ) : string
fileName string The name of the file to be read, excluding extension.
Результат string

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

Writes the given data to a text file.
public Write ( string fileName, string data ) : void
fileName string The name of the file to be written excluding extension.
data string The data to be written.
Результат void