C# Класс OS2Indberetning.BuisnessLogic.FileHandler

FileHandler is responsible for handling reading and writing to text files.
Показать файл Открыть проект

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

Метод Описание
ReadFileContent ( string filename, string foldername ) : Task

Reads content from a file

WriteFileContent ( string filename, string foldername, string content ) : Task

Writes content to a file

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

ReadFileContent() публичный статический Метод

Reads content from a file
public static ReadFileContent ( string filename, string foldername ) : Task
filename string the name of the file
foldername string the name of the folder containing the file
Результат Task

WriteFileContent() публичный статический Метод

Writes content to a file
public static WriteFileContent ( string filename, string foldername, string content ) : Task
filename string the name of the file
foldername string the name of the folder containing the file
content string The content to be written to the file
Результат Task