Méthode | Description | |
---|---|---|
FindDelimiter ( this source ) : int |
Finds the delimiter by looking for the first line in the file and comparing chars
|
|
FindNextEndOfLinePosition ( this source, long initialPosition, SeekOrigin origin = SeekOrigin.Begin ) : long | ||
GetEncoding ( this source ) : |
Determines the encoding of a file
|
|
GetFileLength ( this source ) : long | ||
ReadLinesByPosition ( this source, long positions, bool>.Func |
||
WatchFile ( this file, IObservable |
||
WatchFile ( this file, System.TimeSpan refreshPeriod = null, IScheduler scheduler = null ) : IObservable |
A simpler alternative to the irritatingly useless FileSystemWatcher
|
public static FindDelimiter ( this source ) : int | ||
source | this | The source. |
Résultat | int |
public static FindNextEndOfLinePosition ( this source, long initialPosition, SeekOrigin origin = SeekOrigin.Begin ) : long | ||
source | this | |
initialPosition | long | |
origin | SeekOrigin | |
Résultat | long |
public static GetEncoding ( this source ) : |
||
source | this | |
Résultat |
public static GetFileLength ( this source ) : long | ||
source | this | |
Résultat | long |
public static ReadLinesByPosition ( this source, long positions, bool>.Func |
||
source | this | |
positions | long | |
isEndOfTail | bool>.Func | |
Résultat | IEnumerable |
public static WatchFile ( this file, IObservable |
||
file | this | |
pulse | IObservable |
|
Résultat | IObservable |
public static WatchFile ( this file, System.TimeSpan refreshPeriod = null, IScheduler scheduler = null ) : IObservable |
||
file | this | The file to monitor |
refreshPeriod | System.TimeSpan | The refresh period. |
scheduler | IScheduler | The scheduler. |
Résultat | IObservable |