Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Clarified examples.
  • Loading branch information
vector-man authored Jun 13, 2023
1 parent a12ca75 commit d23b30e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ Because of its design, custom filesystems can be plugged in to further enhance t
View Demo project to see an example.

## Examples:
// Chaining:
// Create FileSystemService
// First, create a FileSystemService.
var fileSystemService = new LocalFileSystemService(new FileSystem());

// Get a file called "C.txt" in sub directory "A\B" of someAbsolutePath:
var directory = fileSystemService.GetDirectory(someAbsolutePath);
// Chaining:
// Get a file called "C.txt" in sub directory "A\B" of "C:\Users\":
var directory = fileSystemService.GetDirectory("C:\Users\");
var fileTwoLevelsDown = directory.GetDirectory("A").GetDirectry("B").GetFile("C.txt");

// LINQ Querying:
Expand Down

0 comments on commit d23b30e

Please sign in to comment.