C# Class DuplicateFinder.Core.Abstractions.FileSystem

Inheritance: IFileSystem
Afficher le fichier Open project: agross/duplicatefinder Class Usage Examples

Méthodes publiques

Méthode Description
AllFilesWithin ( string path ) : IEnumerable
CreateStreamFrom ( string path ) : Stream
Delete ( string path ) : void
Exists ( string path ) : bool
GetSize ( string path ) : long
ReadAllLines ( string path ) : IEnumerable
WriteAllLines ( string path, IEnumerable lines ) : void

Private Methods

Méthode Description
CanRead ( string path ) : bool
ReadableFiles ( string path ) : IEnumerable

Method Details

AllFilesWithin() public méthode

public AllFilesWithin ( string path ) : IEnumerable
path string
Résultat IEnumerable

CreateStreamFrom() public méthode

public CreateStreamFrom ( string path ) : Stream
path string
Résultat Stream

Delete() public méthode

public Delete ( string path ) : void
path string
Résultat void

Exists() public méthode

public Exists ( string path ) : bool
path string
Résultat bool

GetSize() public méthode

public GetSize ( string path ) : long
path string
Résultat long

ReadAllLines() public méthode

public ReadAllLines ( string path ) : IEnumerable
path string
Résultat IEnumerable

WriteAllLines() public méthode

public WriteAllLines ( string path, IEnumerable lines ) : void
path string
lines IEnumerable
Résultat void