Class FileReaderController
- Namespace
- PHCLibrary
- Assembly
- PHCLibrary.dll
public class FileReaderController
- Inheritance
-
FileReaderController
Properties
AllTrim
public bool AllTrim { get; set; }
Property Value
- bool
LineLenght
public int LineLenght { get; set; }
Property Value
- int
StartsWith
public string StartsWith { get; set; }
Property Value
- string
TrimEnd
public bool TrimEnd { get; set; }
Property Value
- bool
TrimStart
public bool TrimStart { get; set; }
Property Value
- bool
Methods
GetContent(string, int)
public string GetContent(string fileName, int linesNumber = 1)
Parameters
| Nome |
Tipo |
Descrição |
fileName |
string |
|
linesNumber |
int |
|
Returns
- string
GetContentFromEnd(string, int)
public string GetContentFromEnd(string fileName, int linesNumber = 1)
Parameters
| Nome |
Tipo |
Descrição |
fileName |
string |
|
linesNumber |
int |
|
Returns
- string