C# Class Dev2.Studio.Core.InterfaceImplementors.DirectoryPersistenceProvider

A directory persistence provider.
Inheritance: IDirectoryPersistenceProvider
Mostra file Open project: Warewolf-ESB/Warewolf

Public Methods

Method Description
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.

Private Methods

Method Description
GetFilePath ( string containerName ) : string

Method Details

Delete() public method

Deletes the specified file.
public Delete ( string fileName ) : void
fileName string The name of the file to be deleted excluding extension.
return void

Read() public method

Gets an enumeration of all content from the files in DirectoryPath.
public Read ( ) : IEnumerable
return IEnumerable

Read() public method

Reads the contents of the specified file.
public Read ( string fileName ) : string
fileName string The name of the file to be read, excluding extension.
return string

Write() public method

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.
return void