C# Class GSF.Historian.Exporters.FileHelper

A class with helper methods for file related operations.
Mostra file Open project: GridProtectionAlliance/gsf

Public Methods

Method Description
WriteToFile ( string files, string text ) : void

Writes the specified text to the specified files.

WriteToFile ( string files, string format, DataSet data ) : void

Writes data to the specified files in the specified format.

Method Details

WriteToFile() public static method

Writes the specified text to the specified files.
public static WriteToFile ( string files, string text ) : void
files string Comma or semi-colon delimitted list of file names to which the is to be written.
text string Text to be written to the .
return void

WriteToFile() public static method

Writes data to the specified files in the specified format.
public static WriteToFile ( string files, string format, DataSet data ) : void
files string Comma or semi-colon delimitted list of file names to which is to be written.
format string Format (CSV or XML) in which is to be written to the .
data System.Data.DataSet containing the data to be written to the .
return void