DefaultFileSystem.cs 442 B

12345678910111213141516
  1. using FileOperations.Interfaces;
  2. namespace FileOperations.Models
  3. {
  4. public class DefaultFileSystem : IFileSystem
  5. {
  6. private readonly IFile file = new DefaultFile();
  7. public IFile File => file;
  8. private readonly IDirectory directory = new DefaultDirectory();
  9. public IDirectory Directory => directory;
  10. private readonly IPath path = new DefaultPath();
  11. public IPath Path => path;
  12. }
  13. }