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

A directory persistence provider.
Inheritance: IDirectoryPersistenceProvider
Afficher le fichier Open project: Warewolf-ESB/Warewolf

Méthodes publiques

Méthode 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

Méthode Description
GetFilePath ( string containerName ) : string

Method Details

Delete() public méthode

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

Read() public méthode

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

Read() public méthode

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

Write() public méthode

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.
Résultat void